Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _VIENNACL_LOCAL_MEM_HPP_
00017 #define _VIENNACL_LOCAL_MEM_HPP_
00018
00023 namespace viennacl
00024 {
00025 namespace ocl
00026 {
00028 class local_mem
00029 {
00030 public:
00031 local_mem(unsigned int s) : size_(s) {}
00032
00034 unsigned int size() const { return size_; }
00035
00037 void size(unsigned int s) { size_ = s; }
00038
00039 private:
00040 unsigned int size_;
00041 };
00042
00043 }
00044 }
00045 #endif
00046