HPCE / hpce-2018-cw3

1 stars 5 forks source link

opencl.dll not found in canned environment #76

Closed JB515 closed 5 years ago

JB515 commented 7 years ago

I am trying to run test_opencl in the provided mingw environment. I managed to get it building successfully but it won't run because OpenCL.dll can't be found. I have all my NVIDIA drivers up to date and can find OpenCL32.dll and OpenCL64.dll in my windows install, but not OpenCL.dll.

Does anyone know where to get this and where to put it?

benfwalker commented 7 years ago

It might be a bit late, but have you tried just changing the name of one of those to OpenCL.dll? (probably the 64 one)

JB515 commented 7 years ago

Update: a wider search of my system has located some version of OpenCL.dll, and pasting it in various places around my cw3 directory allows opencl programs to at least run, but test_opencl crashes so I'm guessing I have the the wrong file.