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

Detailed description

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

Definition at line 40 of file host_device_buffer.h.

#include <host_device_buffer.h>

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

Public Methods

virtual ~host_device_buffer ()
 
virtual uint32 size () const
 
virtual void resize (const uint32 size)
 
virtual void fill (const T val)
 
virtual void to_host ()
 
virtual const T * host_ptr () const
 
virtual const T * device_ptr () const
 
virtual T * host_ptr ()
 
virtual T * device_ptr ()
 

Constructor & Destructor Documentation

template<typename T>
virtual nvbio::cuda::host_device_buffer< T >::~host_device_buffer ( )
inlinevirtual

Definition at line 42 of file host_device_buffer.h.

Member Function Documentation

template<typename T>
virtual const T* nvbio::cuda::host_device_buffer< T >::device_ptr ( ) const
inlinevirtual
template<typename T>
virtual T* nvbio::cuda::host_device_buffer< T >::device_ptr ( )
inlinevirtual
template<typename T>
virtual void nvbio::cuda::host_device_buffer< T >::fill ( const val)
inlinevirtual
template<typename T>
virtual const T* nvbio::cuda::host_device_buffer< T >::host_ptr ( ) const
inlinevirtual
template<typename T>
virtual T* nvbio::cuda::host_device_buffer< T >::host_ptr ( )
inlinevirtual
template<typename T>
virtual void nvbio::cuda::host_device_buffer< T >::resize ( const uint32  size)
inlinevirtual
template<typename T>
virtual uint32 nvbio::cuda::host_device_buffer< T >::size ( void  ) const
inlinevirtual
template<typename T>
virtual void nvbio::cuda::host_device_buffer< T >::to_host ( )
inlinevirtual

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