My application has multiple kernels that I compile from different source files using clCreateProgramWithSource. However, after my second call to clCreateProgramWithSource, gDebugger is reporting my CL context as being deleted.
I have note made any call to clReleaseContext, and tried putting a breakpoint on it in gDebugger to check if it was called somewhere.
So I am wondering what can trigger a context deletion?
Thanks in advance!