Visible to Intel only — GUID: ewa1432304352003
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: ewa1432304352003
Ixiasoft
3.6. Verifying Host Runtime Functionality via Emulation
Test the functionality of the host runtime by emulating an OpenCL™ design example using the Intel® FPGA SDK for OpenCL™ Emulator.
Important: Before you proceed, review Emulating and Debugging Your OpenCL Kernel topic of the Intel FPGA SDK OpenCL Pro Edition: Programming Guide.
- Verify that the LD_LIBRARY_PATH environment variable setting includes the paths identified in Setting the Intel® FPGA SDK for OpenCL™ User Environment Variables. Open a shell and then type echo $LD_LIBRARY_PATH at the command prompt.
If the returned path do not include $INTELFPGAOCLSDKROOT/host/linux64/lib, add it to the LD_LIBRARY_PATH setting.
- Accessing an OpenCL Design Example
The $INTELFPGAOCLSDKROOT/examples_aoc contains sample applications of varying complexities that you can copy to your local and run on your FPGA. - Compiling a Kernel for Emulation
To compile an OpenCL™ kernel for emulation, include the -march=emulator option in your aoc command. - Building the Host Application
Build the host executable with the <local_path_to_exm_opencl_hello_world>/hello_world/Makefile file. - Emulating Your OpenCL Kernel
To emulate your OpenCL™ kernel, run the emulation .aocx file on the platform on which you built your kernel. The OpenCL Emulator uses a different OpenCL platform than when targeting FPGA hardware.