I am getting the above stated error in the build stage of kernel rather than enqueuendrangekernel i.e this is a CL_BUILD_PROGRAM_FAILURE rather than CL_OUT_OF_RESOURCES error. May anyone please tell me why this is happening??
I mean why am i getting out of resources error in the build stage of program. If i were to utilize more than allocated resource than I should have gotten a CL_OUT_OF_RESOURCES error in the clEnqueueNDRangeKernel stage rather than in the clBuildProgram stage. Kindly help