Number of Kernel threads

28 views
Skip to first unread message

Richard Casey

unread,
Jan 14, 2015, 3:33:50 PM1/14/15
to nvbio...@googlegroups.com
Hi,

We're running NVBIO on K80.  For nvBowtie, in the parameter list, there does not seem to be a way to control the number of kernel threads launched on the GPU, or control number of grids/blocks etc. (not that we expect such parameters, just an observation).  Can we assume that the nvBowtie algorithm runs a maximal or optimal number of threads for any given dataset?

thx.

Jacopo Pantaleoni

unread,
Jan 15, 2015, 1:37:40 AM1/15/15
to Richard Casey, nvbio...@googlegroups.com
Hi Richard,

unlike on CPUs where it's typical to specify the number of threads for a whole program manually, on GPUs most of the software
is (almost) always trying to automatically maximize occupancy (i.e. hw utilization), which needs careful tuning for each individual
kernel (i.e. the optimal block sizes for different kernels might be different as well, due to differing register or shared memory
utilization, etc).

So yes, nvBowtie tries to select the best grid configuration for each of its many kernels.

(incidentally, on CPUs this is not necessary because their few "fat" cores are oversubscribed with hw resources, but this obviously
comes at a huge cost in energy efficiency)

best,
-jacopo


--
You received this message because you are subscribed to the Google Groups "nvbio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nvbio-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages