Intel® FPGA SDK for OpenCL™ Pro Edition: Custom Platform Toolkit User Guide

ID 683085
Date 3/28/2022
Public
Document Table of Contents

1. Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform Toolkit User Guide

Updated for:
Intel® Quartus® Prime Design Suite 20.3
The Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform Toolkit User Guide outlines the procedure for creating an Intel® FPGA Software Development Kit (SDK) for OpenCL™ Pro Edition Custom Platform.
Note: If you want to work with Intel® oneAPI Base Toolkit and Intel® FPGA Add-on for oneAPI Base Toolkit, refer to the Installation Guide for Intel® oneAPI Toolkits and Intel® oneAPI Programming Guide for more information.

The Intel® FPGA SDK for OpenCL™ 1 2 Pro Edition Custom Platform Toolkit provides the necessary tools for implementing a fully functional Custom Platform. The Custom Platform Toolkit is available in the INTELFPGAOCLSDKROOT/board directory, where the environment variable INTELFPGAOCLSDKROOT points to the location of the SDK installation.

The goal is to enable an SDK user to target any given Custom Platform seamlessly by performing the following tasks:

  1. Acquire an accelerator board and plug it into their system.
  2. Acquire the Custom Platform and unpack it to a local directory.
  3. Set the environment variable QUARTUS_ROOTDIR_OVERRIDE to point to installation directory of the Intel® Quartus® Prime Pro Edition software.
  4. Invoke the aocl install <path_to_customplatform> utility command.
  5. Compile the OpenCL kernel and build the host application.
  6. Set environment variables to point to the location of the memory-mapped device (MMD) library.
    • For Windows* systems, set the PATH environment variable.
    • For Linux* systems, set the LD_LIBRARY_PATH environment variable.
  7. Run the host application.
1 OpenCL™ and the OpenCL logo are trademarks of Apple Inc. used by permission of the Khronos Group™.
2 The Intel® FPGA SDK for OpenCL™ is based on a published Khronos Specification, and has passed the Khronos Conformance Testing Process. Current conformance status is available at www.khronos.org/conformance.