ViennaCL - The Vienna Computing Library
1.2.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
viennacl
ocl
local_mem.hpp
Go to the documentation of this file.
1
#ifndef VIENNACL_OCL_LOCAL_MEM_HPP_
2
#define VIENNACL_OCL_LOCAL_MEM_HPP_
3
4
/* =========================================================================
5
Copyright (c) 2010-2011, Institute for Microelectronics,
6
Institute for Analysis and Scientific Computing,
7
TU Wien.
8
9
-----------------
10
ViennaCL - The Vienna Computing Library
11
-----------------
12
13
Project Head: Karl Rupp rupp@iue.tuwien.ac.at
14
15
(A list of authors and contributors can be found in the PDF manual)
16
17
License: MIT (X11), see file LICENSE in the base directory
18
============================================================================= */
19
20
25
namespace
viennacl
26
{
27
namespace
ocl
28
{
30
class
local_mem
31
{
32
public
:
33
local_mem
(
unsigned
int
s) : size_(s) {}
34
36
unsigned
int
size
()
const
{
return
size_; }
37
39
void
size
(
unsigned
int
s) { size_ = s; }
40
41
private
:
42
unsigned
int
size_;
43
};
44
45
}
46
}
47
#endif
48
Generated on Wed Oct 10 2012 09:58:14 for ViennaCL - The Vienna Computing Library by
1.8.1.2