Hi everyone,

(I made a similar post on this in the Nvidia forums but didn't get any replies thus far, so I figured I'd try here. The reason I posted there is my machine has an Nvidia GPU, so I have the Nvidia OpenCL version.)

At a high-level, what I'm looking for boils down to: how do I find more details on how the OpenCL compilation process works? My belief is that the equivalent of the CUDA "-keep" or "-cuda" options will lead me to this, but I haven't been able to find one thus far.

What I'm trying to figure out is how to "keep" the intermediate files that are created when an OpenCL file is compiled. In CUDA, this can be done using the "-keep" option. Is there a similar option in OpenCL? If so, what is it? So far, the only compiler options I've been able to find for OpenCL are the ones that you would pass to clBuildProgram().

Thanks for any pointers you may have.