On 2019-04-27 4:22 a.m., Matthias W. Klein wrote:
Dear Octave maintainers,
I have developed a new Octave package named "OCL" which uses OpenCL as
parallelization to speed up a broad familiy of Octave calculations. It
implements a functionality similar to Matlab's 'gpuArray' core concept,
but avoids restrictions on hardware type and vendor.
Thanks, this sounds intriguing. I'm trying it on my recent Intel
hardware. Wasn't really clear to me how to get started from the README
(your docs look extensive but maybe could offer a little more newbie
handholding...)
Anyway, Here's what I've tried so far:
ocl_double (rand (10, 10))
error: ocl_double: error while dynamically loading OpenCL library
check library path and file name ('lib_path_filename') to point to
correct OpenCL library file
ocl_lib ("lib_path_filename", '/usr/lib64', 'libOpenCL.so.1')
# (this is based on `locate -i libopencl`)
ocl_lib ("assure")
error: ocl_lib: error while dynamically loading OpenCL library
check library path and file name ('lib_path_filename') to point to
correct OpenCL library file
Any hints? I'm on Fedora and have installed relevant-looking stuff from
"dnf list opencl*". "clinfo" returns lots of stuff...
thanks,
Colin