Hi,
I have a computer with 40 cores with HT (so maximum number of threads is 80).
With ImageJ, I changed the parallel threads property via Edit>Memory and threads, I could give any number so in my case 80 (instead of the default 32)
But when I checked again the value, it was reduced to 32 threads. It seems I can't allocate more than 32 threads.
I looked at source code and found that this limitation is present in the class Prefs method setThreads(int n)
Where I found this instruction
if (n>32) n = 32;
so there is a hard-coded limitation to 32 threads.
Is there any (good) reason for this limitation to 32 threads?
Best regards,
Cédric
----------------------------------------------------------
Cédric MESSAOUDI
Institut Curie - INSERM U759 Laboratoire d'Imagerie Intégrative
Centre Universitaire - Bât 112,
Rue Henri Becquerel
91405 Orsay CEDEX
France
----------------------------------------------------------
Tel : +33 6 30 90 05 11
+33 1 69 86 71 51
----------------------------------------------------------
[hidden email]<mailto:
[hidden email]>
----------------------------------------------------------
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html