xpu
xpu::buffer_prop Class Reference

Public Member Functions

 buffer_prop ()=delete
 
template<typename T >
 buffer_prop (const buffer< T > &)
 
size_t size () const
 
size_t size_bytes () const
 
buffer_type type () const
 
void * h_ptr () const
 
template<typename T >
T * h_ptr () const
 
void * d_ptr () const
 
template<typename T >
T * d_ptr () const
 
template<typename T >
h_view< T > view () const
 

Constructor & Destructor Documentation

◆ buffer_prop() [1/2]

xpu::buffer_prop::buffer_prop ( )
delete

◆ buffer_prop() [2/2]

template<typename T >
xpu::buffer_prop::buffer_prop ( const buffer< T > &  )
explicit

Member Function Documentation

◆ d_ptr() [1/2]

void* xpu::buffer_prop::d_ptr ( ) const
inline

◆ d_ptr() [2/2]

template<typename T >
T* xpu::buffer_prop::d_ptr ( ) const
inline

◆ h_ptr() [1/2]

void* xpu::buffer_prop::h_ptr ( ) const
inline

◆ h_ptr() [2/2]

template<typename T >
T* xpu::buffer_prop::h_ptr ( ) const
inline

◆ size()

size_t xpu::buffer_prop::size ( ) const
inline

◆ size_bytes()

size_t xpu::buffer_prop::size_bytes ( ) const
inline

◆ type()

buffer_type xpu::buffer_prop::type ( ) const
inline

◆ view()

template<typename T >
h_view<T> xpu::buffer_prop::view ( ) const
inline

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