Cuda::DeviceMemoryStorage< Type, Dim > Class Template Reference

Representation of global GPU memory managed by CUDA templates. More...

#include <devicememory.hpp>

Inheritance diagram for Cuda::DeviceMemoryStorage< Type, Dim >:

Inheritance graph
[legend]
Collaboration diagram for Cuda::DeviceMemoryStorage< Type, Dim >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DeviceMemoryStorage ()
 Default constructor.
 DeviceMemoryStorage (const Size< Dim > &_size)
 Constructor.
 DeviceMemoryStorage (const Layout< Type, Dim > &layout)
 Constructor.
void free ()
 Free memory.
void init ()
 Initialize data structure.


Detailed Description

template<class Type, unsigned Dim>
class Cuda::DeviceMemoryStorage< Type, Dim >

Representation of global GPU memory managed by CUDA templates.

This is the base class for all kind of GPU memory for which a pointer can be obtained for read and write access and for which memory management is performed by the CUDA templates and (i.e., no CUDA arrays).


Constructor & Destructor Documentation

template<class Type, unsigned Dim>
Cuda::DeviceMemoryStorage< Type, Dim >::DeviceMemoryStorage ( const Size< Dim > &  _size  )  [inline]

Constructor.

Parameters:
_size requested size of memory block

template<class Type, unsigned Dim>
Cuda::DeviceMemoryStorage< Type, Dim >::DeviceMemoryStorage ( const Layout< Type, Dim > &  layout  )  [inline]

Constructor.

Parameters:
layout requested layout of memory block


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

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