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. |
A class representing local (shared) OpenCL memory. Typically used as kernel argument.
local_mem | ( | unsigned int | s | ) | [inline] |
unsigned int size | ( | ) | const [inline] |
Returns size in bytes.
void size | ( | unsigned int | s | ) | [inline] |
Sets the size of the local memory in bytes.