Clang OpenCL support query


I am new to clang and am trying to use the libclc library to compile OpenCL programs.
I have downloaded and built the libclc library, clang and llvm. How do I indicate the location
of the libclc files to the clang driver? Is there any specific path where this library needs to be placed?

Hi Kavya,

There is a script in the libclc root directory
which can be used to compile a given OpenCL C program for PTX.
Eventually I hope to move some of this logic to Clang's driver or
have libclc's build system create a configuration file for the driver
(cf. the upcoming driver redesign [1]).