Results 1 to 2 of 2

Thread: Asynchronous build program

  1. #1
    Senior Member
    Join Date
    Nov 2009

    Asynchronous build program

    With last nVidia implementation clBuildProgram called with a callback function doesn't return immediately.

    Reading the specification :
    If pfn_notify is not NULL, clBuildProgram does not need to wait for the build to complete and can return immediately
    , I guess this asynchronous call is implementation dependent... so I'll have to call clBuildProgram in a new thread, if want to always have an asynchronous behavior.

    Is there a way to know if a context's compiler will build program asynchronously?

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Santa Clara

    Re: Asynchronous build program

    There currently is no way of determining whether the compiler will build program asynchronously in the spec.

Similar Threads

  1. error to build program executable
    By zovasili in forum OpenCL
    Replies: 6
    Last Post: 01-15-2013, 07:59 AM
  2. Program Build Error
    By dlw in forum OpenCL
    Replies: 5
    Last Post: 06-28-2011, 12:34 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
Proudly hosted by Digital Ocean