hughperkins / distro-cl

OpenCL Torch
147 stars 17 forks source link

cannot work with CPU #47

Open cnisme opened 6 years ago

cnisme commented 6 years ago

try to run with CPU, but failed, it prompted: Device doesnt exist

and also do the snaity test: luajit -l cltorch -e 'cltorch.test()' luajit -l clnn -e 'clnn.test()' the 2 items are failed together.

ExoSkye commented 5 years ago

try install clinfo (on debian run 'sudo apt install clinfo')

ghost commented 5 years ago

You may need to install pocl-opencl-icd, or what they call it for your distrobution. You may be able to use beignet. Make sure to install mesa-opencl system.