> I want to set the following context properties through viennacl :
> // Pick first platform
> cl_context_properties cprops =
> CL_GL_CONTEXT_KHR, (cl_context_properties)glXGetCurrentContext(),
> CL_GLX_DISPLAY_KHR, (cl_context_properties)glXGetCurrentDisplay(),
> CL_CONTEXT_PLATFORM, (cl_context_properties)(platformList)(),
> How is it possible ?
Currently this is only possible by providing your own OpenCL context to
ViennaCL. See Chapter 10 in the current (1.4.1) user manual.