Altera RTE for OpenCL User Manual

Page 6

Advertising
background image

Utilities and Host Runtime Libraries

• The RTE Utility includes commands you can invoke to perform high-level tasks. The RTE utilities are

a subset of of the Altera SDK for OpenCL (AOCL) utilities.

• The host runtime provides the OpenCL host platform application program interface (API) and

runtime API for your OpenCL host application.
The host runtime consists of the following libraries:
Statically-linked libraries provide OpenCL host APIs, hardware abstractions and helper libraries.

Dynamically-linked libraries (DLLs) provide hardware abstractions and helper libraries.

Drivers, Libraries and Files

The RTE installation process installs the RTE into a directory that you own. The path to the software

installation directory is referenced by the ALTERAOCLSDKROOT environment variable. The following

table highlights the contents of this directory:

Windows

Folder

Linux

Directory

Big-Endian

System

Directory

ARM

Directory

Description

bin

bin

bin

bin

High-level utilities. Include this directory in your PATH

environment variable setting.

board

board

board

The Reference Platform available with the RTE.
Important: The Reference Platform for the RTE does

not include the

hardware

subdirectory.

host

host

host

host

Files necessary for compiling your host program.

host\
include

host/
include

host/
include

host/include

OpenCL Specification version 1.0 header files and

software interface files necessary for compiling and

linking your host application.
The

host/include/CL

subdirectory also includes the C++

header file

cl.hpp

. The file contains an OpenCL version 1.1

C++ wrapper API. These C++ bindings enable a C++ host

program to access the OpenCL runtime APIs using native

C++ classes and methods.
Important: The OpenCL version 1.1 C++ bindings

are compatible with OpenCL Specifica‐

tion versions 1.0 and 1.1.

Add this path to the

include

file search path in your

development environment.

OCL005-15.0.0

2015.05.04

Contents of the Altera RTE for OpenCL

1-3

Altera RTE for OpenCL Getting Started Guide

Altera Corporation

Send Feedback

Advertising