I find in FAQ, but I do not understand how to do.
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.
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.
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.