OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
告知
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.
1739 ディスカッション

Precompiling binaries without Intel hardware

emmanuel_attia
ビギナー
1,039件の閲覧回数

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 件の賞賛
1 返信
Robert_I_Intel
従業員
1,039件の閲覧回数

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-builder article.

返信