Simultaneous launch of Multiple Kernels using CUDA for a GPU
- by cudadev
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.