APP SDK 2.4 CLGL Interop

2011-04-09
2012-12-21
  • Hello;

    I have been having problems using OpenTK/Cloo to get OpenCL/GL interop to work. Have you had any similar issues? It throws an OutOfResources exception in the AcquireGLElements.

    Regards

     
  • nythrix
    nythrix
    2011-04-30

    Hi,
    no I haven't had any problems. For CL/GL interop I use a simple N-Body test which works with both Nvidia and AMD implementations. I haven't checked Intel's yet but I suspect that should work too. Any specific info on this problem? Have you tried fiddling around with parameters, kernels complexity or numbers of CL/GL objects?

    Good thing AMD APP 2.4 can do CL/GL interop on the CPU. Before it wasn't possible for me to test this as I don't have an ATI/AMD GPU.

     
  • nythrix
    nythrix
    2011-04-30

    P.S.: Try running your code on the CPU. They aren't as restricted as GPUs.