Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

clCreateContext fail with CL_EGL_DISPLAY_KHR

$
0
0

HI, Im trying to create GL shared CL context with below properties in window + intel opencl sdk

properties.append(CL_GL_CONTEXT_KHR);
properties.append(reinterpret_cast<CCContextProperties>(eglContext));
properties.append(CL_EGL_DISPLAY_KHR);
properties.append(reinterpret_cast<CCContextProperties>(eglDisplay));

And.. my pc environment

  • Intel core i5 cpu 760
  • Nvidia geforce 210
  • installed intel opencl sdk & CUDA opencl sdk
  • window 7 os

eglContext and eglDisplay create successfully, but clCreateContext return error code "CL_INVALID_PROPERTY"

(In this case the device type is DEVICE_TYPE_CPU, because intel platform couldn't find GPU device.. )

Is Anyone trying create CL context with EGL using intel opencl sdk? Is it possible? 

Is intel opencl sdk support gl sharing with EGL?

Please give me some advice.

Thanks. 

 - chan


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>