Hi forum,

I managed to enable the opencl opengl interoperability to an application .

But the application crashes when i resize the window with the following information:

Code :
GLEW Status: 1.6.0
OpenCL Platform 0: NVIDIA Corporation
OpenCL Device 0: Type = TYPE_GPU
OpenCL Device 0: Name = GeForce GTX 560M
OpenCL Device 0: Compute units = 4
OpenCL Device 0: Max. work group size = 1024
[SELECTED] OpenCL Device 0: Type = TYPE_GPU
[SELECTED] OpenCL Device 0: Name = GeForce GTX 560M
[SELECTED] OpenCL Device 0: Compute units = 4
[SELECTED] OpenCL Device 0: Max. work group size = 1024
Reading file 'rendering_kernel.cl' (size 3678 bytes)
OpenCL Device 0: kernel work group size = 768
Failed to enqueue OpenCL work: -1000
Segmentation fault (core dumped)


Otherwise the application works fine.

Any hint on what might have caused the problem?


Regards
Sajjad