I would like to have an example of how to use clbuildprogram() with pfn_notify functionality (notification routine) so that the clbuildprogram can return immediately. any help??
Hi guys I have found a example for notification routine... so its returns immediately..
void pfn_notify(const char *errinfo, const void *private_info, size_t cb, void *user_data)
fprintf(stderr, "OpenCL Error (via pfn_notify): %s\n", errinfo);
clCreateContext(NULL, 1, devices, &pfn_notify, NULL, &_err);