Login  Register

Re: Multiple OpenCL contexts

Posted by Wade Walker on Jun 01, 2016; 2:24am
URL: https://forum.jogamp.org/Multiple-OpenCL-contexts-tp4036753p4036770.html

The man page at https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clCreateContext.html says it's only supposed to return CL_INVALID_OPERATION if CL_INVALID_D3D10_DEVICE_KHR is set, but we're not setting it :)

One thing you might try is creating vanilla CLContexts instead of CLGLContexts. There may be some limit on those. You might also see whether you can create 4 processes each with one context -- this would indicate that there's some sort of per-process limit in the driver.