OpenCL: Images creation fails in parallel threads
If you use clCreateImage2D (I didn't test the 3D version) inside a thread (pthreads tested), the resulting memory object is not usable (clGetMemObjectInfo, clGetImageInfo, whatever), inside or outside the thread. On the other hand, if the object is generated out of the thread will be accessible inside. I could not test it in other platforms (only NVidia) yet, but I think that could be a driver bug. Regards, Jose Luis Cercós Pita
If you use clCreateImage2D (I didn't test the 3D version) inside a thread (pthreads tested), the resulting memory object is not usable (clGetMemObjectInfo, clGetImageInfo, whatever), inside or outside the thread.

On the other hand, if the object is generated out of the thread will be accessible inside.

I could not test it in other platforms (only NVidia) yet, but I think that could be a driver bug.

Regards,
Jose Luis Cercós Pita

#1
Posted 05/02/2013 03:50 PM   
Scroll To Top

Add Reply