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

Precompiling binaries without Intel hardware

emmanuel_attia
Beginner
187 Views

Hi,

I have a project using OpenCL code.

As part of the packaging we embed the binaries for the OpenCL platforms we want to support.

Unfortunatelly without the Intel HD present on the machine we did not find a way to precompile cl files "offlines" (for instance with clcc or directly with OpenCL API calls) for the Intel HD Graphics target.

Is that kind of "cross-compilation" supported ? Otherwise the product won't be able to be entirely built on the same machine...

Best Regards

0 Kudos
1 Reply
Robert_I_Intel
Employee
187 Views

You may try producing SPIR binaries, which you could consume on Intel platforms: see https://software.intel.com/en-us/articles/using-spir-for-fun-and-profit-with-intel-opencl-code-build... article.

Reply