Thanks for the question.
There is a log for CodeXL, but in this case, I don't think that it will contain relevant information.
CodeXL gets the OpenCL code from the arguments for clCreateProgramWithSource called in run-time.
Did you debug your application and made sure that the arguments are valid?
Can you send a copy of your OpenCL code to firstname.lastname@example.org so that we test it here?
Regarding the arguments, yes they are valid. clSetKernelArg returns CL_SUCCESS on each call. Also, no error is reported when calling clEnqueueNDRangeKernel.
Yes, I will get back to you by e-mail with details about the code.