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.
1718 Discussions

Install OpenCL SDK @ ubuntu 16.04.4

peter_b_8
Beginner
1,763 Views

Dears,

 

just installed OpenCL SDK per instrutions https://software.intel.com/en-us/articles/sdk-for-opencl-gsg#comment-1912393

root@ubuntu:/home/ubuntu/Downloads# clinfo

Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 2.0 
  Platform Extensions function suffix             INTEL
  Platform Name                                   Intel(R) OpenCL
Number of devices                                 2
  Device Name                                     Intel(R) HD Graphics
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.0 
  Driver Version                                  r5.0.63503
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE

and try to test the kernel if the SDK installed

root@ubuntu:/home/ubuntu/Downloads# ioc64 -version
ioc64: command not found

I did follow steps 1) and 2) the ioc64 is not present - is it install ok? how can I get ioc64?

Thanks.

P.S.

root@ubuntu:/home/ubuntu/Downloads# uname -a
Linux ubuntu 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/home/ubuntu/Downloads# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)

 

0 Kudos
7 Replies
Jeffrey_M_Intel1
Employee
1,763 Views

Sorry for the delayed reply.  The script in step 2 only demonstrates how to set up the prerequisites.  Running the SDK installer is a separate step.  After that, check the /opt/intel/opencl-sdk/bin directory.  You should find ioc64 there.

0 Kudos
Komal_P_
Beginner
1,763 Views

Hey Jeffrey,

I came across the same issue as peter.

And not getting the solution. Can you elaborate a bit?

Thanks.

0 Kudos
asani
Novice
1,763 Views

Hey Jeffrey,

I came across the same issue as peter.

But I am only able to see this path "/opt/intel/opencl"  which is different that what you asked to check for (/opt/intel/opencl-sdk/bin ).

Where am  I doing wrong, in which step?

 

 

0 Kudos
asani
Novice
1,763 Views

Hi Peter and Komal

I downloaded and installed intel openCV sdk from this link http://software.intel.com/en-us/articles/vcsource-tools-opencl-sdk/ .

Now I am able to see (/opt/intel/opencl-sdk/bin ) this path and my ioc64 command is working properly,

Thanks

0 Kudos
Michael_C_Intel1
Moderator
1,763 Views

sanivarapu, aditya wrote:

Hi Peter and Komal

I downloaded and installed intel openCV sdk from this link http://software.intel.com/en-us/articles/vcsource-tools-opencl-sdk/ .

Now I am able to see (/opt/intel/opencl-sdk/bin ) this path and my ioc64 command is working properly,

Thanks

 

Hello All,

AdityaS thanks for the comment. To offer some clarification:

With Intel® SDK for OpenCL™ Applications installs in linux environments, /opt/intel/opencl-sdk/bin should resolve to /opt/intel/opencl/SDK/bin via symlink. The httplink shared by AdityaS redirects to Intel® SDK for OpenCL™ Applications jump off page: https://software.intel.com/en-us/intel-opencl. No computer vision SDK is located at this jump off page.

Keep in mind: an OpenCL™ runtime implementation, which may write to /opt/intel/opencl, is not the same as the Intel® SDK for OpenCL™ Applications, which may also write to directories under /opt/intel/opencl via symlink to place developer tools. ioc64 is a binary tool that is currently distributed within Intel® SDK for OpenCL™ Applications.

Intel® Computer Vision SDK Beta R3 is a separate product. It can currently be accessed here: https://software.intel.com/en-us/computer-vision-sdk

-MichaelC

0 Kudos
peter_b_8
Beginner
1,763 Views

sanivarapu, aditya wrote:

Hi Peter and Komal

I downloaded and installed intel openCV sdk from this link http://software.intel.com/en-us/articles/vcsource-tools-opencl-sdk/ .

Now I am able to see (/opt/intel/opencl-sdk/bin ) this path and my ioc64 command is working properly,

Thanks

how did you install that downloaded driver? I see this 

-rw-rw-r-- 1 ubuntu ubuntu 417669120 Jun 13 01:48 intel_sdk_for_opencl_2017_7.0.0.2568_x64

can you please share the commands you have run to install it?

Thanks.

0 Kudos
Michael_C_Intel1
Moderator
1,763 Views

Hi PeterB,

A prebuilt Ubuntu Intel Graphics Compute Runtime for OpenCL driver build is located inside of the OpenVINO Toolkit, but this isn't related to seeing the io64 tool.

ioc64 is the offline OpenCL-C compiler available from the Intel SDK for OpenCL Applications. Just installing the SDK should give access to the offline compiler.

The Intel SDK for OpenCL Applications is here:

https://software.intel.com/en-us/intel-opencl

 

-MichaelC

0 Kudos
Reply