|
Fermat
|
a dynamic host vector class (with C++11 it would be: template <T> typedef vector<host_tag,T> host_vector;)
#include <vector.h>
Public Types | |
| typedef host_tag | system_tag |
| typedef vector< host_tag, 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 | |
| host_vector (const size_t size=0, const T val=T()) | |
| template<typename OtherAlloc > | |
| host_vector (const thrust::host_vector< T, OtherAlloc > &v) | |
| template<typename OtherAlloc > | |
| host_vector (const thrust::device_vector< T, OtherAlloc > &v) | |
| template<typename OtherAlloc > | |
| host_vector< T > & | operator= (const thrust::host_vector< T, OtherAlloc > &v) |
| template<typename OtherAlloc > | |
| host_vector< T > & | operator= (const thrust::device_vector< T, OtherAlloc > &v) |
| operator plain_view_type () | |
| operator const_plain_view_type () const | |
1.8.13