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

ID 683173
Date 3/28/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.7.1. Building the Host Application

Build your SoC FPGA-specific OpenCL™ host application using the GCC cross-compiler available with the Windows version of the SoC EDS.
  1. Perform the following tasks to download the hello_world design example:
    1. Download the SoC FPGA-specific hello_world design example ( <version> Arm32 Linux package (.tgz)) from the Hello World Design Example page.
    2. Extract exm_opencl_hello_world_arm32_linux_<version>.tar to a location to which you have write access.
      Important: Ensure that the location name does not contain spaces.
  2. At a command prompt, invoke the following command to set the PATH environment variable:
    SET PATH=%PATH%;<path_to_SoCEDS_installation_dir>\ds-5\sw\gcc\bin
  3. Navigate to the <path_to_exm_opencl_hello_world_arm32_linux_<version>>\hello_world folder.
  4. Invoke the make -f Makefile command. Alternatively, you can simply invoke the make command.
    The hello_world executable is in the <path_to_exm_opencl_hello_world_arm32_linux_<version>>\hello_world\bin folder.