AN 780: Compiling and Customizing an Intel® Arria® 10 Custom Platform for OpenCL*

ID 683045
Date 10/30/2018
Document Table of Contents
Give Feedback

1.5.1. Specifying the Intel® FPGA SDK for OpenCL™ User Environment Variable Settings

You have the option to set the Windows user environment variables permanently or transiently.
  • To apply the environment variable settings permanently on your system, set them in the Environment Variable dialog box via the System Properties (Advanced) tab.
    Table 3.   Intel® FPGA SDK for OpenCL™ Windows User Environment Variable Settings
    Environment Variable Path to Include
    2. %INTELFPGAOCLSDKROOT%\host\windows64\bin

    where INTELFPGAOCLSDKROOT points to the path of the software installation

    AOCL_BOARD_PACKAGE_ROOT Location of Custom or Reference Platform
  • To apply transient environment variable settings, open a command window and run the %INTELFPGAOCLSDKROOT%\init_opencl.bat script.
    Example script output:
    AOCL_BOARD_PACKAGE_ROOT path is not set in environment
    Setting to default s5_ref board.
    If you want to target another board, do 
    set AOCL_BOARD_PACKAGE_ROOT=board_pkg_dir and re-run this script
    Adding %INTELFPGAOCLSDKROOT%\host\windows64\bin to PATH
    Adding %AOCL_BOARD_PACKAGE_ROOT%\windows64\bin to PATH