Closed dkarkoulis closed 9 years ago
A basic backend to pass compilation options to the OpenCL compiler has been implemented. It handles special cases (AMD clc++, even though not needed anymore) and include paths for other opencl files and headers.
It should be enough for now!
Until now the OpenCL JIT compiler options are hardcoded and they need to be automated. Compiler options should be added based on the platform, device type and build type. For example on an AMD device "-x clc++" the option needs to be appended for the kernels to compile.