Hello, I am attempting to run the oclParticles example (found here: file:///C:/ProgramData/NVIDIA%20Corporation/NVIDIA%20GPU%20Computing%20SDK%203.2/OpenCL/src/oclParticles/) provided in the NVIDIA SDK. The project compiles successfully in VS2008, but when I run the program I get the following error:
clCreateCommandQueue...
...loading BitonicSort_b.cl
...creating bitonic sort program
...building bitonic sort program
!!! Error # -42 at file c:\programdata
vidia corporation
vidia gpu computing sdk 3.2\opencl\src\oclparticles\src\oclbitonicsort_launcher.cpp, line 49
-----------------------------------------------------------
Build Log:
: Considering profile 'compute_20' for gpu='sm_20' in 'cuModuleLoadDataEx_4'
-----------------------------------------------------------
Writing ptx to separate file: oclBitonicSort.ptx ...
!!! Error # -42 (CL_INVALID_BINARY) at line 52 , in file c:\programdata
vidia corporation
vidia gpu computing sdk 3.2\opencl\src\oclparticles\src\oclbitonicsort_launcher.cpp !!!
Exiting...
-----------------------------------------------------------
so when I go to line 49, in the file oclBitonicSort_launcher.cpp this is the line I see that is giving me an error.
ciErrNum = clBuildProgram(cpBitonicSort, 0, NULL, NULL, NULL, NULL);
Error -42 corresponds to CL_INVALID_BINARY. I’m at a loss since I can see that cpBitonicSort_launcher Object file in the Release folder for the project. Anyway, I’m going to continue searching for a solution but if anyone has any insight into my problem I would very much appreciate it. Thanks.