Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.63 KB

File metadata and controls

55 lines (37 loc) · 1.63 KB

Hello World OpenCL Example Runtime

❗ NOTE: If this is your first time using F1, To go through the full SDAccel application development flow you should read Quick Start Guide to Accelerating your C/C++ application on an AWS F1 FPGA Instance with SDAccel

Table of Contents

  1. Overview
  2. Filelist Description
  3. Execution
  4. Hello World OCL Example Metadata

Overview

This example is a simple OpenCL application. It will highlight the basic execution flow of an OpenCL application on F1 instance. You Need to be on F1 Instance to be able to execute this application.

Filelist Description

helloworld -- Executable application file
helloworld_ocl_afi_id.txt  -- lists public afi information to load for this example
helloworld_ocl_agfi_id.txt -- list public agfi id of the afi to load for this example 
README.md
vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin --awsxclbin file with xclbin metadata used by application to load the afi.

##Execution

Command sequence

sudo fpga-clear-local-image -S 0
 >>$sudo sh
sh-4.2# source $AWS_FPGA_REPO_DIR/sdaccel_runtime_setup.sh
sh-4.2# ./helloworld

Hello World Example Metadata

Key Region Value
afi id us-east-1(N. Virginia) afi-0532379b26ea13f26
afi id us-west-2(oregon) afi-0ab098d3fbfc43c7e
afi id eu-west-1 (Ireland) afi-0ae1c5a82237c676f
agfi id all regions agfi-05f652c8a09435190