Skip to content

Class muda::DeviceVector

template <typename T>

ClassList > muda > DeviceVector

Inherits the following classes: thrust::device_vector< T, thrust::device_allocator< T > >

Public Types

Type Name
typedef thrust::device_vector< T, thrust::device_allocator< T > > Base

Public Functions

Type Name
void copy_to (std::vector< T > & v) const
auto cviewer () const
operator BufferView< T > () const
operator CBufferView< T > () const
DeviceVector & operator= (CBufferView< T > v)
auto view ()
auto view () const
auto viewer ()

Public Types Documentation

typedef Base

using muda::DeviceVector< T >::Base =  thrust::device_vector<T, thrust::device_allocator<T> >;

Public Functions Documentation

function copy_to

inline void muda::DeviceVector::copy_to (
    std::vector< T > & v
) const

function cviewer

inline auto muda::DeviceVector::cviewer () const

function operator BufferView< T >

inline muda::DeviceVector::operator BufferView< T > () const

function operator CBufferView< T >

inline muda::DeviceVector::operator CBufferView< T > () const

function operator=

inline DeviceVector & muda::DeviceVector::operator= (
    CBufferView < T > v
) 

function view [1/2]

inline auto muda::DeviceVector::view () 

function view [2/2]

inline auto muda::DeviceVector::view () const

function viewer

inline auto muda::DeviceVector::viewer () 


The documentation for this class was generated from the following file src/muda/container/vector.h