stefan_w

function naming in OpenCL.dll

Discussion created by stefan_w on Sep 2, 2009
Latest reply on Oct 24, 2009 by mael

I wrote a little loader for the OpenCL.dll which works perfectly well with NVIDIA, however it fails with the OpenCL.dll provided by AMD.

If open the DLL with Dependency Walker, I see that all function names have an underscore prefixed and an @ postifxed.

Will this be fixed? Because this makes it a lot harder to write a loader that works with AMD and NVIDIA.

Linking with OpenCL.lib is not an option, because the application should also work if no OpenCL.dll is present.

Outcomes