1 Reply Latest reply on Dec 6, 2012 12:36 AM by rizokuri

    context deleted

    rizokuri

      Hi,

       

      I recently started using gDebugger to debug my OpenCL application. I'm using multiple kernels and dynamically build my kernels with multiple calls to clCreateProgramWithSource. I noticed that gDebugger will flag my CL context to "deleted" after my second call to clCreateProgramWithSource, I fail to understand what's happening here, and my application is still running smoothly after that.

       

      If anyone could shade some light on this issue, it would be greatly appreciated.

       

      Thanks

        • Re: context deleted
          rizokuri

          I found out that I was releasing the program after creating it which apparently caused the lost of context. However, OpenCL didn't return any errors upon using the context for creating other kernels and my application could still run even after the context deletion... I guess OpenCL still has a lot to do in terms of error reporting, but anyway problem solved, thanks!