I have a CUDA (OpenCL) kernel that I should execute a lot of time (100.000 times by examples).
The problem is that :
If I launch everything the GPU lock and my computer freeze. And I cannot stop/pause the GPU once started !!!
If I use a loop on the CPU that launch the GPU kernel, then I have a lot of CPU usage.
I have see a software that run GPU kernels but use 0% of the GPU (Octane Render), how it is possible ?