Closed rstub closed 4 years ago
It's probably easiest to debug this yourself, it's just a few lines of code. I don't see an obvious reason why this could fail, it's essentially doing the same as your sample program.
I would suspect LD_LIBRAY_PATH
or similar settings are different in R and when you run the binary. Closing as not reproducible.
I have a (Debian stable) system with three OpenCL platforms installed:
Beignet and POCL have been installed from the Debian repositories. For Intel OpenCL I used the binary installer from Intel. A simple sample program finds all three platforms:
Output:
However,
OpenCL::oclPlatforms()
finds only two of them: