OpenCLIPER classes

Overview

Simple class diagram of OpenCLIPER

Usually users of OpenCLIPER only have to deal with objects of CLapp, XData and KData classes and of subclasses of the Process class. Following sections show the main constructors and methods of these classes.

CLapp

Main CLapp methods:

Data

Data is an abstract class used to derive XData and KData classes. Most useful Data methods (used by subclasses) are the following:

XData

XData constructors automatically create an XData object stored in host memory and add it to a previously created CLapp object (a mandatory constructor parameter), which copies all the needed data from host memory to device memory of the selected device. Main constructors let the user create an object with the following features:

The most commonly used methods in XData are:

KData

KData constructors automatically create a KData object stored in host memory and add it to a previously created CLapp object (a mandatory constructor parameter), which copies all the needed data from host memory to device memory of the selected device. Main constructors let the user create an object with the following features:

The most commonly used methods in KData are:

Process

Process constructors automatically create a Process object and add it to a previously created CLapp object (a mandatory constructor parameter). Optionally, the input and output objects used for processing can be set. These objects must belong to a class derived from the Data class.

Process most used methods (most of them inherited from the ProcessCore class) are the following:

Detailed documentation

OpenCLIPER class documentation is maintained with doxygen, here.