I have a problem running samples or any other programs on C++ OpenCL wrappers. I could run samples in the cl/ folder. Whenever I run any samples from cpp_cl/ I get this error
Build Options are : -x clc++
Error: clBuildProgram failed. Error code : CL_INVALID_BUILD_OPTIONS
Location : SDKCommon.cpp:1614
Error: sampleCommon::buildOpenCLProgram() failed
Location : FFT.cpp:260
and some of them just crash. Can someone identify the problem?
UPDATE: I'm using VS2012 and the latest APP SDK version
Solved! Go to Solution.
I tried. When I run it I get thousands of errors like this
C:\Users\jaidotsh\AppData\Local\Temp\OCLB442.tmp.cl(280): error: variable "lp"
has already been initialized
lp = zi0.x;
Then I removed it from my environment and set buildData.flagsStr = std::string(""); to empty string instead. It still throws those errors
There is no information about the build options anywhere!