• Main Page
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

/data/development/ViennaCL/dev/viennacl/ocl/local_mem.hpp

Go to the documentation of this file.
00001 #ifndef VIENNACL_OCL_LOCAL_MEM_HPP_
00002 #define VIENNACL_OCL_LOCAL_MEM_HPP_
00003 
00004 /* =========================================================================
00005    Copyright (c) 2010-2011, Institute for Microelectronics,
00006                             Institute for Analysis and Scientific Computing,
00007                             TU Wien.
00008 
00009                             -----------------
00010                   ViennaCL - The Vienna Computing Library
00011                             -----------------
00012 
00013    Project Head:    Karl Rupp                   rupp@iue.tuwien.ac.at
00014                
00015    (A list of authors and contributors can be found in the PDF manual)
00016 
00017    License:         MIT (X11), see file LICENSE in the base directory
00018 ============================================================================= */
00019 
00020 
00025 namespace viennacl
00026 {
00027   namespace ocl
00028   {
00030     class local_mem
00031     {
00032       public:
00033         local_mem(unsigned int s) : size_(s) {}
00034         
00036         unsigned int size() const { return size_; }
00037 
00039         void size(unsigned int s) { size_ = s; }
00040 
00041       private:
00042         unsigned int size_;
00043     };
00044     
00045   }
00046 }
00047 #endif
00048 

Generated on Fri Dec 30 2011 23:20:43 for ViennaCL - The Vienna Computing Library by  doxygen 1.7.1