I have created an EGL context for OpenGL rendering without an X server. I would like to create a shared OpenCL context for pre and post-processing.
I have tried creating the shared OpenCL context by specifying my EGL context and EGL display (paired with CL_GL_CONTEXT_KHR and CL_EGL_DISPLAY_KHR, respectively) in the cl_context_properties struct. I get a CL_INVALID_OPERATION error.
Is EGL-OpenCL interoperability supported? If not, will there be support in the future?
I am using Ubuntu 20.04, NVidia Driver 440.64, CUDA Toolkit 10.2, GeForce RTX 2070.