how to generate binaries using offline compiler?

how to generate binaries using offline compiler?

imagem de TY

how to generate binaries using offline compiler, so that the binary can later be loaded up and processed using "clCreateProgramWithBinary"?

I tried using ioc64 on some examples, but it doesn't seem that any binary file has been generated. For example:


ioc64 -cmd="Build"


Using default instruction set architecture.
Intel OpenCL CPU device was found!
Device name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Device version: OpenCL 1.2 (Build 42537)
Device vendor: Intel(R) Corporation
Device profile: FULL_PROFILE
Compilation started
Compilation done
Linking started
Linking done
Kernel <MedianFilterBitonic> was successfully vectorized
Build succeeded!


And then what? Where's the binary?

3 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de Uri Levy (Intel)

In order to get the program intermediate binary file you should use the "-ir[=]" command switch.
For example: ioc64 -cmd="Build"

For more information on how to use the Offline Compiler tool and its features, please refer to the product's user guide on:


imagem de TY

It works, thank you!

Faça login para deixar um comentário.