Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BasselAli1 opened this issue Aug 17, 2017 · 1 comment

Comments

@BasselAli1
Copy link

BasselAli1 commented Aug 17, 2017

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
Copy link
Owner

Normally you need two things:

  • a GPU, that supports OpenCL 1.2 or higher
  • GPU drivers, that handle the OpenCL bit, and include OpenCL drivers

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants