Public Member Functions | List of all members
ML::pinned_host_vector< T > Class Template Reference

#include <pinned_host_vector.hpp>

Collaboration diagram for ML::pinned_host_vector< T >:
Collaboration graph

Public Member Functions

 pinned_host_vector ()=default
 
 pinned_host_vector (std::size_t n)
 
 ~pinned_host_vector ()
 
 pinned_host_vector (pinned_host_vector const &)=delete
 
 pinned_host_vector (pinned_host_vector &&)=delete
 
pinned_host_vectoroperator= (pinned_host_vector const &)=delete
 
pinned_host_vectoroperator= (pinned_host_vector &&)=delete
 
void resize (std::size_t n)
 
T * data ()
 
T * begin ()
 
T * end ()
 
std::size_t size ()
 
operator[] (std::size_t idx) const
 
T & operator[] (std::size_t idx)
 

Constructor & Destructor Documentation

◆ pinned_host_vector() [1/4]

template<typename T >
ML::pinned_host_vector< T >::pinned_host_vector ( )
default

◆ pinned_host_vector() [2/4]

template<typename T >
ML::pinned_host_vector< T >::pinned_host_vector ( std::size_t  n)
inlineexplicit

◆ ~pinned_host_vector()

template<typename T >
ML::pinned_host_vector< T >::~pinned_host_vector ( )
inline

◆ pinned_host_vector() [3/4]

template<typename T >
ML::pinned_host_vector< T >::pinned_host_vector ( pinned_host_vector< T > const &  )
delete

◆ pinned_host_vector() [4/4]

template<typename T >
ML::pinned_host_vector< T >::pinned_host_vector ( pinned_host_vector< T > &&  )
delete

Member Function Documentation

◆ begin()

template<typename T >
T* ML::pinned_host_vector< T >::begin ( )
inline

◆ data()

template<typename T >
T* ML::pinned_host_vector< T >::data ( )
inline

◆ end()

template<typename T >
T* ML::pinned_host_vector< T >::end ( )
inline

◆ operator=() [1/2]

template<typename T >
pinned_host_vector& ML::pinned_host_vector< T >::operator= ( pinned_host_vector< T > &&  )
delete

◆ operator=() [2/2]

template<typename T >
pinned_host_vector& ML::pinned_host_vector< T >::operator= ( pinned_host_vector< T > const &  )
delete

◆ operator[]() [1/2]

template<typename T >
T& ML::pinned_host_vector< T >::operator[] ( std::size_t  idx)
inline

◆ operator[]() [2/2]

template<typename T >
T ML::pinned_host_vector< T >::operator[] ( std::size_t  idx) const
inline

◆ resize()

template<typename T >
void ML::pinned_host_vector< T >::resize ( std::size_t  n)
inline

◆ size()

template<typename T >
std::size_t ML::pinned_host_vector< T >::size ( )
inline

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