Simultaneous launch of Multiple Kernels using CUDA for a GPU

Posted by cudadev on Stack Overflow See other posts from Stack Overflow or by cudadev
Published on 2010-06-14T04:35:34Z Indexed on 2010/06/14 4:42 UTC
Read the original article Hit count: 628

Filed under:
|
|
|

Is it possible to launch two kernels that do independent tasks, simultaneously. For example if I have this Cuda code

// host and device initialization ....... .......

// launch kernel1 myMethod1 <<<.... >>> (params);

// launch kernel2 myMethod2 <<<.....>>> (params);

Assuming that these kernels are independent, is there a facility to launch them at the same time allocating few grids/blocks for each. Does CUDA/OpenCL have this provision.

© Stack Overflow or respective owner

Related posts about kernel

Related posts about cuda