hughperkins / cltorch

An OpenCL backend for torch.
Other
289 stars 26 forks source link

I can't test torch-cl because it says "No OpenCL-enabled devices available"? #83

Open BasselAli1 opened 7 years ago

BasselAli1 commented 7 years ago

luajit -l cltorch -e 'cltorch.test()' then i see many things including this Function call failed Something went wrong: OpenCL library not found at /home/kawhi/torch-cl/opencl/cltorch/src/torch/generic/Storage.cpp:101 No OpenCL-enabled devices available at /home/kawhi/torch-cl/opencl/cltorch/src/lib/THClGeneral.cpp:139

i saw in one of the issues to do this clinfo then i saw this Number of platforms 0 what is the meaning of "enable open-cl platform"? and how can i do that? i am sorry it is simple question but i don't know a lot about hardware i really appreciate the help

hughperkins commented 7 years ago

Normally you need two things:

You'll need to check with your own GPU vendor on how to configure OpenCL for your GPU device.