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.Thanks
-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 ifdevice_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?
it was a numberdevice problem, I solved it
Retrieving data ...