Results 1 to 2 of 2

Thread: clGetGLContextInfoKHR unresolved

  1. #1

    clGetGLContextInfoKHR unresolved

    Hi,

    I just tried to use clGetGLContextInfoKHR and it turns out that I get an "unresolved external symbol" error. Is that function not supported yet? I am using the OpenCL.lib from the latest NVIDIA Computing SDK.

    Is there any other way to find out on which one of the devices the current OpenGL context has been created on?

    Thx
    OpenCL Studio --- http://www.opencldev.com

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: clGetGLContextInfoKHR unresolved

    I just tried to use clGetGLContextInfoKHR and it turns out that I get an "unresolved external symbol" error. Is that function not supported yet? I am using the OpenCL.lib from the latest NVIDIA Computing SDK.
    When you use a function that is defined in an extension you need to use clGetExtensionFunctionAddress() to get a pointer to it.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. Replies: 5
    Last Post: 05-29-2012, 06:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •