I use clBuildprogram to build my code, and I get an error -30, I print this error using this code:
shrLog(" Error %i build program !!!\n\n", ciErrNum);
How can I get the real error name,
like CL_INVALID_PROGRAM for example.
-30 is CL_INVALID_VALUE which can occur in clBuildProgram due to different reasons.
1. if device_list is NULL and num_devices is greater than zero, or if
device_list is not NULL and num_devices is zero.
2. if pfn_notify is NULL but user_data is not NULL
Could you post your source code?