NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
nvbio::cuda::host_device_buffer_sync< T > Struct Template Reference

Detailed description

template< typename T>
struct nvbio::cuda::host_device_buffer_sync< T >

Definition at line 119 of file host_device_buffer.h.

#include <host_device_buffer.h>

Inheritance diagram for nvbio::cuda::host_device_buffer_sync< T >:
nvbio::cuda::host_device_buffer< T >

Public Methods

 host_device_buffer_sync ()
 
 host_device_buffer_sync (const uint32 size)
 
 ~host_device_buffer_sync ()
 
uint32 size () const
 
void resize (const uint32 size)
 
void fill (const T val)
 
void to_host ()
 
virtual const T * host_ptr () const
 
virtual const T * device_ptr () const
 
virtual T * host_ptr ()
 
virtual T * device_ptr ()
 
- Public Methods inherited from nvbio::cuda::host_device_buffer< T >
virtual ~host_device_buffer ()
 

Constructor & Destructor Documentation

template<typename T >
nvbio::cuda::host_device_buffer_sync< T >::host_device_buffer_sync ( )
inline

Definition at line 121 of file host_device_buffer.h.

template<typename T >
nvbio::cuda::host_device_buffer_sync< T >::host_device_buffer_sync ( const uint32  size)
inline

Definition at line 122 of file host_device_buffer.h.

template<typename T >
nvbio::cuda::host_device_buffer_sync< T >::~host_device_buffer_sync ( )
inline

Definition at line 123 of file host_device_buffer.h.

Member Function Documentation

template<typename T >
virtual const T* nvbio::cuda::host_device_buffer_sync< T >::device_ptr ( ) const
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 144 of file host_device_buffer.h.

template<typename T >
virtual T* nvbio::cuda::host_device_buffer_sync< T >::device_ptr ( )
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 147 of file host_device_buffer.h.

template<typename T >
void nvbio::cuda::host_device_buffer_sync< T >::fill ( const val)
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 133 of file host_device_buffer.h.

template<typename T >
virtual const T* nvbio::cuda::host_device_buffer_sync< T >::host_ptr ( ) const
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 143 of file host_device_buffer.h.

template<typename T >
virtual T* nvbio::cuda::host_device_buffer_sync< T >::host_ptr ( )
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 146 of file host_device_buffer.h.

template<typename T >
void nvbio::cuda::host_device_buffer_sync< T >::resize ( const uint32  size)
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 127 of file host_device_buffer.h.

template<typename T >
uint32 nvbio::cuda::host_device_buffer_sync< T >::size ( void  ) const
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 125 of file host_device_buffer.h.

template<typename T >
void nvbio::cuda::host_device_buffer_sync< T >::to_host ( )
inlinevirtual

Reimplemented from nvbio::cuda::host_device_buffer< T >.

Definition at line 138 of file host_device_buffer.h.


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