2 Replies Latest reply on Mar 16, 2010 5:15 PM by drstrip

    compiling .cl kernel files


      I know I can compile a .cl file via the clBuildProgram API call. What I want to know is whether there is a way to call the compiler directly, preferably in a way that integrates with Visual Studio so that errors and warnings are passed back and can be found via F4 function key like the C/C++ part of the program.

        • compiling .cl kernel files

          If you had the installer add the SDK to the path for you, just open a command prompt and type "clc yoursourcefilename.cl"

          On my machine, the compilers are located at:

          C:\Program Files (x86)\ATI Stream\bin\x86_64\clc.exe


          C:\Program Files (x86)\ATI Stream\bin\x86\clc.exe

          The compiler output is pretty standard so I'm sure it's possible to integrate it with Visual Studio, but I haven't bothered myself.