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

How to use OPENCL 2.1 on apollo lake?

Yannis__James
Beginner
950 Views

Hello,

I find in FAQ, but I do not understand how to do.

https://github.com/intel/compute-runtime/blob/master/documentation/FAQ.md

How can I enable OpenCL 2.1 on the Apollo Lake / Broxton platform?

You can enable a higher version of OpenCL using the ForceOCLVersion debug flag.

 

 

0 Kudos
2 Replies
Michael_C_Intel1
Moderator
950 Views

Hi JamesY,

 

Per the NEO homepage, iGFX OCL on Apollo Lake based processors is limited to 1.2 support only.

The CPU Runtime isn't officially supported on Apollo Lake, but it may or may not function.

Beignet is no longer being maintained by Intel developers, but their documentation does mention Apollo Lake in places.

 

-MichaelC

0 Kudos
Ben_A_Intel
Employee
950 Views

Hi James, can you try:

$ export ForceOCLVersion=21
$ /path/to/your/application

Or, for a more temporary solution:

$ ForceOCLVersion=21 /path/to/your/application

I don't have an Apollo Lake / Broxton platform to be 100% sure that this works, but I was able to downgrade my Skylake platform to OpenCL 1.2 using this mechanism.  Caveats: You need a NEO build that supports debug variable functionality to do this, this codepath is not regularly tested, etc. etc.

Thanks!

0 Kudos
Reply