Monday, March 9, 2020

Install OpenCl Neo on Oracle Linux

I found it is easy to install opencl to Oracle Linux as one, two, three.

curl http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_linux64.zip > SRB5.0_linux64.zip
unzip SRB5.0_linux64.zip

yum install intel-opencl-cpu-r5.0-63503.x86_64.rpm    
yum install intel-opencl-devel-r5.0-63503.x86_64.rpm      
yum install intel-opencl-r5.0-63503.x86_64.rpm              


yum provides "*/libOpenCL.so"











Produced output with path to the lib:

intel-opencl-r5.0-63503.x86_64 : OpenCL ICD loader and ICD for Intel Iris Graphics
Repo        : @System
Matched from:
Filename    : /opt/intel/opencl/libOpenCL.so

Then test opencl runtime directly in .Net Core

git clone https://github.com/lecode-official/opencl-dotnet.git
cd opencl-dotnet
cd OpenCl.DotNetCore.Tests
dotnet run 


Supported Platforms & Devices:
+--------------------------------------------------+----------------+----------------------+-----------------------------------------+----------------+----------------+----------------+----------------
| Platform                                         | OpenCL Version | Vendor               | Device                                  | Driver Version | Bits           | Memory         | Clock Speed    | Available      |
+--------------------------------------------------+----------------+----------------------+-----------------------------------------+----------------+----------------+----------------+----------------
| Intel(R) OpenCL                                  | 2.0            | Intel(R) Corporation | Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz | 1.2.0.475      | 64 Bit         | 3.43 GiB       | 3600 MHz       | ✔              |
+--------------------------------------------------+----------------+----------------------+-----------------------------------------+----------------+----------------+----------------+----------------
| Intel(R) CPU Runtime for OpenCL(TM) Applications | 2.1            | Intel(R) Corporation | Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz | 1.2.0.475      | 64 Bit         | 3.43 GiB       | 3600 MHz       | ✔              |
+--------------------------------------------------+----------------+----------------------+-----------------------------------------+----------------+----------------+----------------+----------------



No comments:

debug magazine archive

  71 jounals still available on issuu with great story of netlabels time.  debug_mag Publisher Publications - Issuu