|
| vector_id () |
| Basic constructor. More...
|
|
| vector_id (Size n, const T &value) |
| Constructor. More...
|
|
| vector_id (int n, const T &value) |
| Constructor. More...
|
|
| vector_id (long n, const T &value) |
| Constructor. More...
|
|
| vector_id (Size n) |
| Constructor. More...
|
|
| vector_id (const std::vector< T > &x) |
| Constructor. More...
|
|
| vector_id (const_iterator first, const_iterator last) |
| Constructor. More...
|
|
reference | at (Index n) |
| Read/write random access, with explicit Index. More...
|
|
const_reference | at (Index n) const |
| Read-only random access, with explicit Index. More...
|
|
reference | operator() (Index n) |
| Read/write random access, with explicit Index. More...
|
|
const_reference | operator() (Index n) const |
| Read-only random access, with explicit Index. More...
|
|
reference | operator[] (Index n) |
| Read/write random access, with explicit Index. More...
|
|
const_reference | operator[] (Index n) const |
| Read-only random access. More...
|
|
Index | push_back (const_reference v) |
|
| vector () |
|
| vector (Size n) |
|
| vector (const vector< T, MemoryManager > &v) |
|
bool | isHostValid () const |
|
bool | isDeviceValid (unsigned gpu) const |
|
void | clear () |
|
void | operator= (const vector< T, MemoryManager > &v) |
|
| ~vector () |
|
Size | size () const |
|
Size | capacity () const |
|
bool | empty () const |
|
void | reserve (Size s, Size WARP_SIZE=MemoryManager::BSIZE) |
|
void | fastResize (Size s, Size WARP_SIZE=MemoryManager::BSIZE) |
| resize the vector without calling constructors or destructors, and without synchronizing the device and host copy More...
|
|
void | recreate (Size s, Size WARP_SIZE=MemoryManager::BSIZE) |
| resize the vector discarding any old values, without calling constructors or destructors, and without synchronizing the device and host copy More...
|
|
void | invalidateDevice () |
|
void | invalidateHost () |
|
void | memsetDevice (int v=0) |
|
void | memsetHost (int v=0) |
|
void | resize (Size s, Size WARP_SIZE=MemoryManager::BSIZE) |
|
void | swap (vector< T, MemoryManager > &v) |
|
const device_pointer | deviceReadAt (int i, int gpu=MemoryManager::getBufferDevice()) const |
|
const device_pointer | deviceRead (int gpu=MemoryManager::getBufferDevice()) const |
|
device_pointer | deviceWriteAt (int i, int gpu=MemoryManager::getBufferDevice()) |
|
device_pointer | deviceWrite (int gpu=MemoryManager::getBufferDevice()) |
|
const T * | hostRead () const |
|
T * | hostWrite () |
|
const T * | hostReadAt (int i) const |
|
T * | hostWriteAt (int i) |
|
buffer_id_type | bufferRead (bool create=false) |
| Get the Buffer Object ID for reading. More...
|
|
buffer_id_type | bufferWrite (bool create=false) |
| Get the Buffer Object ID for writing. More...
|
|
void | push_back (const T &t) |
|
void | pop_back () |
|
const T & | operator[] (Size i) const |
|
T & | operator[] (Size i) |
|
const T * | data () const |
|
T * | data () |
|
const T & | getCached (Size i) const |
|
const T & | getSingle (Size i) const |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
iterator | begin () |
|
iterator | end () |
|
iterator | erase (iterator position) |
|
iterator | insert (iterator position, const T &x) |
|
template<> |
std::istream & | read (std::istream &in) |
|
template<> |
std::istream & | read (std::istream &in) |
|
template<> |
std::ostream & | write (std::ostream &os) const |
|
template<> |
std::istream & | read (std::istream &in) |
|