Support for 32 bit 64 bit

Aug 1, 2012 at 2:02 PM

I am running OpenCL on a 64 bit Windows 7 machine. I build OpenCL.Net source code with target platform "Any CPU" to generate the dll. This works fine.

We have legacy programs that are built with target platform "x86." I need these programs to be able to use the OpenCL.dll. This is not working.

I tried rebuilding OpenCL.Net source code with target platform x86 and use that dll as a reference for the legacy program, but that still does not work.

Do you have any suggestions?

Aug 1, 2012 at 2:39 PM

I searched for opencl.dll on my computer and there are two:

one under C:\Windows\System32 and the other under C:\Windows\SysWOW64.

When I build OpenCL.NET, does it automatically find and use the correct one (System32 or SysWOW64) depending on the target platform?