OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

Install intel sdk for opencl applications

rampelli__raj
Beginner
664 Views

Hi,

do I need to use the script shared at https://software.intel.com/en-us/articles/sdk-for-opencl-gsg for installing intel sdk even though my ubuntu kernel version is 4.15 (ubuntu 18.04 version) ?

I looked into script, it's installing kernel 4.7 and applying some intel related patch set. Can you point me to the script which can be used on Ubuntu 18.04 setup for installing intel sdk (opencl)? 

Thanks.

0 Kudos
1 Reply
Michael_C_Intel1
Moderator
664 Views

Hello RajR,

The linux kernel rebuild isn't required after 4.14.20. The 4.14.20 linux kernel or newer is required with the new runtime stack for Intel Graphics Compute Runtime for OpenCL Driver, which targets Intel Processor Graphics: https://github.com/intel/compute-runtime. If you'd like to target CPU, see the 16.1.2 CPU runtime on this page: https://software.intel.com/en-us/articles/opencl-drivers. Earlier kernels should be fine with the CPU implementation. See the release notes from the opencl-drivers page for more details on compatibility.

The SDK support for Ubuntu 18.04 isn't official yet, but it's expected to execute. Please try the SDK installer and pay particular attention to prerequisites called out by the installer. The gui installer makes prerequisites more apparent. This will vary system to system depending on what preconfigured packages the system had installed.

The 16.04 script may serve as a good hint for useful prereq packages that would want to be installed.

 

-MichaelC

Reply