Visible to Intel only — GUID: ewa1416586552764
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: ewa1416586552764
Ixiasoft
2.3. Setting the Intel® FPGA SDK for OpenCL™ Pro Edition User Environment Variables
You have the option to set the Intel® FPGA SDK for OpenCL™ Pro Edition Windows user environment variables permanently or transiently. The environment variable settings describe the FPGA board and the host runtime to the software.
Attention: If you set the environment variables permanently, you apply the settings once during installation. If you set the environment variables transiently, you must apply the settings during installation and during every subsequent session you run.
Environment Variable | Path to Include |
---|---|
PATH |
where INTELFPGAOCLSDKROOT points to the path of the software installation |
- To apply permanent environment variable settings, perform the following tasks:
- Click Windows Start menu > Control Panel (or search for and then open the Control Panel application in Windows 8.1 and Windows 10).
- Click System.
- In the System window, click Advanced system settings.
- Click the Advanced tab in the System Properties dialog box.
- Click Environment Variables.
The Environment Variables dialog box appears.
- To modify an existing environment variable setting, select the variable under User variables for <user_name> and then click Edit. In the Edit User Variable dialog box, type the environment variable setting in the Variable value field.
- If you add a new environment variable, click New under User variables for <user_name>. In the New User Variable dialog box, type the environment variable name and setting in the Variable name and Variable value fields, respectively.
For an environment variable with multiple settings, add semicolons to separate the settings.
- To apply transient environment variable settings, open a command window and run the %INTELFPGAOCLSDKROOT%\init_opencl.bat script.
Example script output:
Adding %INTELFPGAOCLSDKROOT%\bin to PATH Adding %INTELFPGAOCLSDKROOT%\host\windows64\bin to PATH
Running the init_opencl.bat script only affects the current command window. The script performs the following tasks:- Finds the Intel® Quartus® Prime Pro Edition software installation
- Finds the Microsoft Visual Studio installation
- Imports the Microsoft Visual Studio environment to properly set the LIB environment variable
- Ensures that the PATH environment variable includes the path to the Microsoft LINK.EXE file and the aoc.exe file