octave-maintainers
[Top][All Lists]
Advanced

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

Re: OCL package 1.0.0 released


From: Constantinos Frangos
Subject: Re: OCL package 1.0.0 released
Date: Tue, 13 Aug 2019 12:17:19 +0200

Hi Matthias,

Thanks for the detailed response.

Any help with the following would be appreciated.

(1) The directory /etc/OpenCL/vendors/ contains only one file
called intel.icd and the contents is as follows.
/usr/lib/beignet/libcl.so

(2) I tried the command ocl_context ("get_resources") and the
output is given below. Not clear what this indicates?

(3) Please provide some information on the relevant opencl linux
hardware driver for 4th generation intel core i7 and I will try to
download this from the internet.

(The information I found on the internet was not clear? The easiest
would be to locate the name of the relevant ubuntu 14.04 package
on the synaptic package manager.)

Thank you.

Best regards,
Constantinos

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

octave:32> d = ocl_context ("get_resources")
d =

  scalar structure containing the fields:

    platforms =
    {
      [1,1] =

        scalar structure containing the fields:

          platform_index = 0
          name = Experiment Intel Gen OCL Driver
          version = OpenCL 1.1 beignet 0.3
          profile = FULL_PROFILE
          vendor = Intel
          extensions = cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_icd

    }

On 8/12/19, Matthias W. Klein <address@hidden> wrote:
>> Dear Matthias,
>>
>> I have managed to install your package but am getting the error
>> message below.
>>
>> I am using ubuntu linux 14.04LTS. I am not sure whether opencl
>> is completely installed?
>>
>> I do not know what the correct name of the opencl package is for
>> ubuntu 14.04 so that I can specify this on the synaptic package
>> manager?
>>
>> How do I specify that your package (or opencl) should use the
>> core i7 on my machine?
>>
>> My machine also has a radeon graphics card (but I do not know
>> how to determine the exact model number and specifications of
>> the radeon graphics card, etc).
>>
>> How do I specify that your package (or opencl) should rather use
>> the radeon graphics card for the computations (as this may be
>> faster)?
>>
>> Thank you very much for any assistance with regard to the above.
>>
>> Best wishes,
>> Constantinos
>>
>>
>> octave:24> ocl_tests
>> Testing ocl_constant function...
>> Testing ocl_lib function...
>> Testing ocl_context function...
>> ocl: calling OpenCL function 'clGetPlatformIDs'
>>   returned error 'CL_PLATFORM_NOT_FOUND_KHR' (-1001).
>>   Please check your OpenCL installation.
>> error: ocl_context: OpenCL function call error
>> error: called from:
>> error:   /home/cfrangos/octave/ocl-1.0.0/ocl_tests.m at line 85, column
>> 11
>> octave:24>
>>
>>
>>
>>
> Constantinos,
>
> the OCL package comes with a README file, in the doc/ subdirectory.  You
> can use the octave command 'pkg list' to find your directory where the
> package is installed, in order to get to the file.  The README contains
> comprehensive info on using the package, including a "troubleshooting"
> section distinguishing OpenCL installation issues from OCL issues.
>
>  From your messages, I estimate that your system contains an OpenCL
> library (=the "ICD loader"), but no specific hardware device drivers (or
> none correctly installed; see also your /etc/OpenCL/vendors/* in Linux).
>   You can find lots of infos on OpenCL Linux driver installation in the
> web.
>
> Once you have your drivers accessible, you can use the OCL function
> 'ocl_context' to list and choose your hardware to use - type 'help
> ocl_context' to see its syntax help.
>
> Best,
> Matt
>
>



reply via email to

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