octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Octave package "OCL" providing OpenCL support


From: Colin Macdonald
Subject: Re: New Octave package "OCL" providing OpenCL support
Date: Sat, 27 Apr 2019 06:40:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]