Is it possible to declare data types for a cluster profile?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Steven Evans
am 26 Dez. 2015
Kommentiert: Steven Evans
am 27 Dez. 2015
I have an 8-core FX-8320E AMD processor. When I run the "parpool" command, it only creates a pool for 4 cores. I have learned that the processor has 8 integer cores and 4 floating-point cores. My algorithm doesn't have to work on floating-point numbers. Is there any way to create a profile that will allow me to create a pool that will use all 8 cores?
Thanks for your time, and for any input that anyone is willing to provide.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 26 Dez. 2015
You cannot declare datatypes for a cluster. You can change your code to relentlessly use integer operations, including enclosing all of the constants in appropriate casting, like
X = X + int32(1);
Note: integer division A./B is defined to have the same result as cast(double(A)./double(B), class(A)) which might require a floating point unit.
To increase the number of cores in your profile see http://www.mathworks.com/matlabcentral/answers/125161-hyperthreading-number-of-cores-parallel-computing-toolbox
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!