Cuda::Array3D< Type > Class Template Reference

Array template specialized for 3 dimension(s). More...

#include <specdim_array3d.hpp>

Inheritance diagram for Cuda::Array3D< Type >:

Inheritance graph
[legend]
Collaboration diagram for Cuda::Array3D< Type >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Array3D ()
 Default constructor.
 Array3D (const Size< 3 > &_size)
 Constructor.
 Array3D (const Layout< Type, 3 > &layout)
 Constructor.
 Array3D (size_t size0, size_t size1, size_t size2)
 Constructor.
 Array3D (const Array3D< Type > &x)
 Copy constructor.
template<class Name>
 Array3D (const Name &x)
 Constructor.
template<class Name>
 Array3D (const Name &x, const Size< 3 > &ofs, const Size< 3 > &size)
 Constructor.
template<class Name>
 Array3D (const Name &x, size_t ofs0, size_t ofs1, size_t ofs2, size_t size0, size_t size1, size_t size2)
 Constructor.
void alloc ()
 Allocate memory.
void alloc (const Size< 3 > &_size)
 Allocate memory.
void alloc (size_t size0, size_t size1, size_t size2)
 Allocate memory.


Detailed Description

template<class Type>
class Cuda::Array3D< Type >

Array template specialized for 3 dimension(s).

Constructor & Destructor Documentation

template<class Type>
Cuda::Array3D< Type >::Array3D ( const Size< 3 > &  _size  )  [inline]

Constructor.

Parameters:
_size requested size of memory block.

template<class Type>
Cuda::Array3D< Type >::Array3D ( const Layout< Type, 3 > &  layout  )  [inline]

Constructor.

Parameters:
layout requested layout of memory block.

template<class Type>
Cuda::Array3D< Type >::Array3D ( const Array3D< Type > &  x  )  [inline]

Copy constructor.

Parameters:
x instance of Array3D to be copied

template<class Type>
template<class Name>
Cuda::Array3D< Type >::Array3D ( const Name &  x  )  [inline]

Constructor.

Initialization from different type.

Parameters:
x instance of different type to be copied

template<class Type>
template<class Name>
Cuda::Array3D< Type >::Array3D ( const Name &  x,
const Size< 3 > &  ofs,
const Size< 3 > &  size 
) [inline]

Constructor.

Initialization of region from same or different type.

Parameters:
x instance to be copied
ofs offset of region
size size of region

template<class Type>
template<class Name>
Cuda::Array3D< Type >::Array3D ( const Name &  x,
size_t  ofs0,
size_t  ofs1,
size_t  ofs2,
size_t  size0,
size_t  size1,
size_t  size2 
) [inline]

Constructor.

Initialization of region from same or different type.

Parameters:
x instance to be copied
ofs0,ofs1,ofs2 offset of region
size0,size1,size2 size of region


Member Function Documentation

template<class Type>
void Cuda::Array3D< Type >::alloc ( const Size< 3 > &  _size  )  [inline]

Allocate memory.

Parameters:
_size size to be allocated

template<class Type>
void Cuda::Array3D< Type >::alloc ( size_t  size0,
size_t  size1,
size_t  size2 
) [inline]

Allocate memory.

size0, size1, size2 size to be allocated


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

Generated on Sun Sep 13 00:55:22 2009 for cudatemplates by  doxygen 1.5.6