
[OpenCL] EntryPointNotFoundException on CL calls
Posted Saturday, 22 August, 2009 - 13:16 by nythrix| Project: | The Open Toolkit library |
| Version: | 0.9.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
As reported here running the OpenCL example causes an EntryPointNotFoundException on CreateContextFromType(...).
I have encountered the same exception on GetPlatformIDs(...) in other code. I suppose this happens on all CL calls.
Config: WinXP SP2 32bit / ATI Stream / Core 2 Duo / GF 9600GT
Edit: Another related thread.


Comments
#1
I am getting the same exception with ATI Stream, no idea about the cause yet. I will test on Linux to see if it also occurs there.
Can you please run dumpbin on the opencl.dll and attach its output here?
#2
Had to copy the damn thing somewhere else in order to work.
Anyway:
#3
Thanks, the '_' prefix might be throwing the DllImports off. The symbols on the Linux libOpenCL.so file don't seem to have that prefix, interesting.
#4
I manually tried adding the prefix to one of the bindings but it didn't help. Same exception but this time with an underscore.
Edit: Forgot to ask: Does it work on Linux? I have no Linux installation ATM.
#5
The program actually compiles and runs fine on Linux.
We will probably have to modify the code to use GetProcAddress/dlsym on Windows/Unix respectively in order to get correct results regardless of the implementation.
#6
Apparently this is a known bug on WinXP. I say leave the bindings be till the devs come out with something. After all ATI Stream SDK is still beta.
http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=118204...
#7
Thanks for the pointer!