cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

fjhyb012
Adept I

clCreateImage implemented in APP SDK 2.7?

I developed a program on windows 7 64b version. In this program, I use clcreateimage to create an image buffer object. The compiling is ok, but when i run the program, I got an error message like "cannot locate clCreateImage in opencl.dll".

What's the problem?

Thanks

0 Likes
3 Replies
fjhyb012
Adept I

more info.

My system has an intel i7 cpu and a nvidia gpu. Does this configuraiton cause the problem?

0 Likes

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...


http://devgurus.amd.com/thread/159447

yurtesenNovice

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.

0 Likes

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.

Thanks!