yask
yask copied to clipboard
Set num threads per block automatically in yask.sh script
Recommend setting default to number of HW threads per core.
Default of 2 on Xeon is correct now when HT is enabled. If HT is disabled, default will cause 2 cores to work on each block, which shouldn't be terrible, but 1 would usually be expected. Should also get 1 when max_threads / thread_divisor <= number of cores.
v4 now sets one thread per core by default