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_zero_copy< T > Struct Template Reference

Detailed description

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

Definition at line 54 of file host_device_buffer.h.

#include <host_device_buffer.h>

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

Public Methods

 host_device_buffer_zero_copy ()
 
 host_device_buffer_zero_copy (const uint32 size)
 
 ~host_device_buffer_zero_copy ()
 
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

Definition at line 56 of file host_device_buffer.h.

Definition at line 57 of file host_device_buffer.h.

Definition at line 58 of file host_device_buffer.h.

Member Function Documentation

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

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

Definition at line 88 of file host_device_buffer.h.

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

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

Definition at line 101 of file host_device_buffer.h.

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

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

Definition at line 80 of file host_device_buffer.h.

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

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

Definition at line 87 of file host_device_buffer.h.

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

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

Definition at line 100 of file host_device_buffer.h.

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

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

Definition at line 66 of file host_device_buffer.h.

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

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

Definition at line 64 of file host_device_buffer.h.

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

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

Definition at line 85 of file host_device_buffer.h.


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