Asynchronous build program
With last nVidia implementation clBuildProgram called with a callback function doesn't return immediately.
Reading the specification :
, 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.
If pfn_notify is not NULL, clBuildProgram does not need to wait for the build to complete and can return immediately
Is there a way to know if a context's compiler will build program asynchronously?
Re: Asynchronous build program
There currently is no way of determining whether the compiler will build program asynchronously in the spec.