To compile an OpenCL™ kernel for
emulation, include the -march=emulator option in your
aoc command.
To compile the kernel for your target FPGA board, at a command
prompt, navigate to the hello_world design
and then invoke the following command:
aoc
-march=emulator -v device/hello_world.cl
-o
bin/hello_world.aocx
The Intel® FPGA SDK for OpenCL™ Offline Compiler compiles the hello_world.cl kernel source file and creates the hello_world.aocx emulation-specific executable file in the bin subdirectory.