AnsweredAssumed Answered

How do I supply build arguments(Include path) to opencl program in codexl?

Question asked by soylentgraham on Jun 23, 2013
Latest reply on Jul 31, 2013 by soylentgraham

I have an opencl program (which compiles and runs fine in my app), which I want to debug. When I run clBuildProgram I supply some arguments;

-I "data/"

As I'm using a couple of common include files.
When I break[point] into codexl to debug the program it gives me a CL_BUILD_PROGRAM_FAILURE error as I haven't supplied the arguments (and so it doesn't compile)

But I can't find anywhere to put my arguments in!


On a side note though, when I break and look in CodeXL Explorer and select my "OpenCL Program 1", inside the properties it shows the "Program Build Options" WITH the arguments which were supplied at runtime... so... ARE the arguments reaching the program? and it's not compiling for a different reason?


In the properties, "Program build log" is empty, which doesn't help...