Visible to Intel only — GUID: ewa1412954536523
Ixiasoft
1. Intel® FPGA SDK for OpenCL™ Pro Edition Getting Started Guide
2. Getting Started with the Intel® FPGA SDK for OpenCL™ Pro Edition for Windows
3. Getting Started with the Intel® FPGA SDK for OpenCL™ Pro Edition for Linux
A. Intel® FPGA SDK for OpenCL™ Pro Edition Getting Started Guide Archives
B. Document Revision History of the Intel® FPGA SDK for OpenCL™ Pro Edition Getting Started Guide
2.1. Downloading the Intel® FPGA SDK for OpenCL™ Pro Edition
2.2. Installing the Intel® FPGA SDK for OpenCL™ Pro Edition
2.3. Setting the Intel® FPGA SDK for OpenCL™ Pro Edition User Environment Variables
2.4. Verifying Software Installation
2.5. Installing an FPGA Board
2.6. Verifying Host Runtime Functionality via Emulation
2.7. Creating the FPGA Hardware Configuration File of an OpenCL Kernel
2.8. Updating the Hardware Image on the FPGA
2.9. Executing an OpenCL Kernel on an FPGA
2.10. Uninstalling an FPGA Board
2.11. Uninstalling the Software
3.1. Downloading the Intel® FPGA SDK for OpenCL™ Pro Edition
3.2. Installing the Intel® FPGA SDK for OpenCL™ Pro Edition
3.3. Setting the Intel® FPGA SDK for OpenCL™ Pro Edition User Environment Variables
3.4. Verifying Software Installation
3.5. Installing an FPGA Board
3.6. Verifying Host Runtime Functionality via Emulation
3.7. Creating the FPGA Hardware Configuration File of an OpenCL Kernel
3.8. Updating the Hardware Image on the FPGA
3.9. Executing an OpenCL Kernel on an FPGA
3.10. Uninstalling an FPGA Board
3.11. Uninstalling the Software
Visible to Intel only — GUID: ewa1412954536523
Ixiasoft
2.6.2. Compiling a Kernel for Emulation
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.