Intel® FPGA RTE for OpenCL™ Pro Edition: Getting Started Guide

ID 683173
Date 9/26/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.1.5. Installing the Intel FPGA RTE for OpenCL Pro Edition onto the SoC FPGA Board

The RTE installation package for Intel® SoC FPGAs with 32-bit ARM® processor is available in tar format. To install the software, you must install it in a directory that you own, and set all the necessary environment variables.
  1. Create an RTE directory on the board's file system by typing the mkdir <rte_destination_directory> command.
  2. Move the downloaded installation package intel-fpga-opencl-pro-rte-32bit-arm.tgz to the RTE directory by typing the mvintel-fpga-opencl-pro-rte-32bit-arm.tgz <rte_destination_directory> command.
  3. Type cd <rte_destination_directory> to navigate to the RTE directory.
  4. To unpack the tarball, type tar -xzvf intel-fpga-opencl-pro-rte-32bit-arm.tgz at the command prompt.
  5. Transfer the aclsoc_drv.ko file you built on your development machine into the <rte_destination_directory>/board/a10soc/driver directory on the SoC FPGA board.
  6. Set the environment variables, as shown below.
    Intel recommends that you consolidate the settings of the environment variables into a file called init_opencl.sh. Then, run the command source ./init_opencl.sh to load all the environment variables and the OpenCL™ Linux kernel driver simultaneously.
    export INTELFPGAOCLSDKROOT=<rte_destination_directory>
    export PATH=$INTELFPGAOCLSDKROOT/bin:$PATH
    export LD_LIBRARY_PATH=$INTELFPGAOCLSDKROOT/host/arm32/lib:$LD_LIBRARY_PATH
    insmod $INTELFPGAOCLSDKROOT/board/c5soc/driver/aclsoc_drv.ko