Fermat
Public Types | Public Methods | List of all members
cugar::caching_device_vector< T > Struct Template Reference

Detailed description

template<typename T>
struct cugar::caching_device_vector< T >

a dynamic device vector class with a caching allocator

#include <vector.h>

Inheritance diagram for cugar::caching_device_vector< T >:
cugar::vector< device_tag, T, caching_device_allocator< T > >

Public Types

typedef device_tag system_tag
 
typedef vector< device_tag, T, caching_device_allocator< T > > base_type
 
typedef base_type::const_iterator const_iterator
 
typedef base_type::iterator iterator
 
typedef base_type::value_type value_type
 
typedef base_type::plain_view_type plain_view_type
 
typedef base_type::const_plain_view_type const_plain_view_type
 

Public Methods

 caching_device_vector (const size_t size=0, const T val=T())
 
template<typename OtherAlloc >
 caching_device_vector (const thrust::host_vector< T, OtherAlloc > &v)
 
template<typename OtherAlloc >
 caching_device_vector (const thrust::device_vector< T, OtherAlloc > &v)
 
template<typename OtherAlloc >
caching_device_vector< T > & operator= (const thrust::host_vector< T, OtherAlloc > &v)
 
template<typename OtherAlloc >
caching_device_vector< T > & operator= (const thrust::device_vector< T, OtherAlloc > &v)
 
 operator plain_view_type ()
 
 operator const_plain_view_type () const
 

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