My system has an intel i7 cpu and a nvidia gpu. Does this configuraiton cause the problem?
If NVIDIA drivers are installed, this thread might be helpful for you. It looks like this is more of an installation problem, e.g., OpenCL.dll was not copied properly during installation...
I still would put the original libGL files in place and replace nvidia installed ones before blaming the SDK.
If you use elrepo for instaling the package, it will install the files in /usr/lib64/nvidia and this wont be a problem.
The problem is because nvidia driver is overwriting /usr/lib64/libGL.* files.If you are installing driver manually, I think you can tell it to install those files to /usr/lib64/nvidia (I think there is a command switch which you can give to installer)
Alternatively you can delete /usr/lib64/libGL* files and re-install mesa-gl (which will put original libgl files. If you are using your nvidia card to drive the display, this disables 3D support, but you can still use CUDA.
1 of 1 people found this helpful
Thanks for help!
I solve the problem. I found an opencl.dll under c:\windows\system32. It's a 1.0 version dll, . I replace it with the dll provided with app sdk 2.7. My program works.