ViennaCL - The Vienna Computing Library  1.5.2
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 (vcl_size_t s)
vcl_size_t size () const
 Returns size in bytes.
void size (vcl_size_t 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 ( vcl_size_t  s) [inline]

Member Function Documentation

vcl_size_t size ( ) const [inline]

Returns size in bytes.

void size ( vcl_size_t  s) [inline]

Sets the size of the local memory in bytes.


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