SkelCL
SkelCL is a high level multi GPU skeleton library developed at the university of Münster, Germany.
 All Classes Namespaces Files Functions Variables Typedefs Groups
Public Member Functions | List of all members
skelcl::Local Class Reference

This class represents OpenCL local memory in SkelCL. More...

#include <Local.h>

Public Member Functions

 Local (size_t sizeInBytes)
 Create a new Local object with the given size of local memory in bytes. More...
 
size_t getSizeInBytes () const
 Access the amount of local memory to be used in bytes. More...
 

Detailed Description

This class represents OpenCL local memory in SkelCL.

An object of this class can be used as an additional argument of a skeleton to make local memory available in the user defined function.

The helper function local(size_t) can be used to create an object of this class directly when the skeleton is executed.

Definition at line 58 of file Local.h.

Constructor & Destructor Documentation

skelcl::Local::Local ( size_t  sizeInBytes)

Create a new Local object with the given size of local memory in bytes.

Parameters
sizeInBytesThe size of local memory to be used in bytes.

Definition at line 44 of file Local.cpp.

Member Function Documentation

size_t skelcl::Local::getSizeInBytes ( ) const

Access the amount of local memory to be used in bytes.

Returns
The amount of local memory to be used in bytes.

Definition at line 49 of file Local.cpp.


The documentation for this class was generated from the following files: