Concurrent, unique kernels on the same multiprocessor?

我的梦境 提交于 2019-12-02 07:49:03

问题


Is it possible, using streams, to have multiple unique kernels on the same streaming multiprocessor in Kepler 3.5 GPUs? I.e. run 30 kernels of size <<<1,1024>>> at the same time on a Kepler GPU with 15 SMs?


回答1:


On a compute capability 3.5 device, it might be possible.

Those devices support up to 32 concurrent kernels per GPU and 2048 threads peer multi-processor. With 64k registers per multi-processor, two blocks of 1024 threads could run concurrently if their register footprint was less than 16 per thread, and less than 24kb shared memory per block.

You can find all of this is the hardware description found in the appendices of the CUDA programming guide.



来源:https://stackoverflow.com/questions/24424206/concurrent-unique-kernels-on-the-same-multiprocessor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!