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

Authoritative Documentation

Chris_S_11
Beginner
823 Views

Hello,

Where can I find the authoritative documentation that explains how I create a working Intel OpenCL GPU application?

The instructions can be for any linux distribution and can be for an offline or online compiled kernel.  I prefer that the instructions include topics such as installing the runtime (if necessary), the SDK (if necessary), kernel patching (if necessary), etc.

I prefer authoritative documentation.  If none exists, please let me know which twitter feed, blog posts, etc you use to learn Intel OpenCL.

Thank you,

Chris

0 Kudos
5 Replies
Robert_I_Intel
Employee
823 Views

Hi Chris,

You can start here:

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

We have a number of code samples including samples for Linux:

https://software.intel.com/en-us/intel-opencl-support/code-samples

The primary support page with Training, Documentation and Samples links is here:

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

For OpenCL drivers for Linux go here:

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

For the OpenCL GPU application you need either an Open Source Beignet driver https://01.org/beignet or an OpenCL driver that comes with Intel(R) Media Server Studio for Linux https://software.intel.com/en-us/intel-media-server-studio - it comes with very authoritative and detailed instructions about the whole procedure of patching the kernel, etc. It also comes with Intel OpenCL Code Builder tool - keep in mind that the preferred supported OS is CentOS 7.1 - it is possible to make it work on other OSes, but for that you will need to search the forum(s).

We are in the process of releasing a standalone OpenCL driver for Intel(R) Processor Graphics (GPU), but the way things are going it will probably come out early next year. The supported OS: CentOS 7.1 - should work on a recently released CentOS 7.2 - we are in the process of validating that everything works there.

Let me know if I answered your question. Thanks!

0 Kudos
Chris_S_11
Beginner
823 Views

I

Robert Ioffe (Intel) wrote:

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

Robert,

Thank you very much for your help.  If there is a document that explains how to go from a "fresh install of CentOS" to "running a program on the GPU" I would like that one.  The pages you sent me are full of links to other documents and products... I am confused about which links and products I need.

I have a fresh install of CentOS and I would like to run a "hello world" application on the GPU.  What is the first step?  Is the first step to install the "Media Studio"?  Is the first step to install the "Runtime"?  Or perhaps it is to install the "SDK"?  I don't think I'm ready for the code samples you provided.

Thanks again,

Chris

0 Kudos
Robert_I_Intel
Employee
823 Views

Chris,

1. You need to get Intel(R) Media Server Studio for Linux

2. Follow the instructions inside: we have very detailed instructions on how to go about patching the kernel, etc. The process is involved, but doable.

3. Download and try Linux samples from the links above, build them and try them out.

 

0 Kudos
Chris_S_11
Beginner
823 Views

Robert Ioffe (Intel) wrote:

Chris,

1. You need to get Intel(R) Media Server Studio for Linux

2. Follow the instructions inside: we have very detailed instructions on how to go about patching the kernel, etc. The process is involved, but doable.

3. Download and try Linux samples from the links above, build them and try them out.

Robert,

Thank you very much, I will do that.  Sounds like the process is:

1. Buy a computer with an Intel GPU

2. Install CentOS 7.1 with default options

3. Download Media Server Studio for Linux

4. Follow the instructions for the Media Server Studio

Will you please confirm:

- I do not need to install the Intel OpenCL runtime (unless that is part of step 4)

- I do not need to install any kind of opencl package from the CentOS package manager (unless that is part of step 4)

Thank you again for your help,

Chris

0 Kudos
Robert_I_Intel
Employee
823 Views

Hi Chris,

Yes, that's basically it.

0 Kudos
Reply