Public Member Functions

local_mem Class Reference

A class representing local (shared) OpenCL memory. Typically used as kernel argument. More...

#include <local_mem.hpp>

Public Member Functions

 local_mem (unsigned int s)
unsigned int size () const
 Returns size in bytes.
void size (unsigned int s)
 Sets the size of the local memory in bytes.

Detailed Description

A class representing local (shared) OpenCL memory. Typically used as kernel argument.


Constructor & Destructor Documentation

local_mem ( unsigned int  s  )  [inline]

Member Function Documentation

unsigned int size (  )  const [inline]

Returns size in bytes.

void size ( unsigned int  s  )  [inline]

Sets the size of the local memory in bytes.


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