I've made an application that uses an OpenCL kernel to write in an OpenGL texture. It works fine on my laptop which has a AMD Radeon HD 6900M card, but it fails on a PC with an AMD Fusion chip (with AMD Radeon 6310). Is CL/GL interoperability supported on AMD Fusion boards?
I use Linux/64bit and Catalyst 11.11 on both machines. On the Fusion board, I get the error CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR when creating the CL context (same code works fine on laptop!).
I get exactly the same problem with the SimpleGL example. It fails when creating the context with the error CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR.
Platform 0 : Advanced Micro Devices, Inc.
Selected Platform Vendor : Advanced Micro Devices, Inc.
Device 0 : Loveland
Interop Device ID is 0xd3e360
Error: clCreateContext failed. Error code : CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR
then it must some driver issue. i can run SimpleGL example (and others CL/GL app) on my E-350 based netbook. my system is ubuntu 11.10.
try run "export LD_LIBRARY_PATH=/usr/lib/fglrx" it helps me with other CL/GL issue.