Public Types | |
| typedef CNC_Vector< T > | thisclass |
Public Member Functions | |
| CNC_Vector (unsigned int size=0, unsigned int alignment=1) | |
| void | allocate (unsigned int size, unsigned int alignment=1) |
| void | set_all (const T &value) |
| T & | operator() (unsigned int i) |
| const T & | operator() (unsigned int i) const |
| T & | operator[] (unsigned int index) |
| const T & | operator[] (unsigned int index) const |
| T & | from_linear_index (unsigned int index) |
| const T & | from_linear_index (unsigned int index) const |
| unsigned int | size () const |
| unsigned int | alignment () const |
| void | clear () |
| const T * | data () const |
| T * | data () |
| unsigned int | mem_usage () const |
| void | print () const |
Protected Member Functions | |
| void | deallocate () |
Protected Attributes | |
| T * | data_ |
| unsigned int | size_ |
| char * | base_mem_ |
| unsigned int | alignment_ |
Private Member Functions | |
| CNC_Vector (const thisclass &rhs) | |
| thisclass & | operator= (const thisclass &rhs) |
Definition at line 17 of file AlephCudaVector.h.
| typedef CNC_Vector<T> Arcane::CNC_Vector< T >::thisclass |
Definition at line 21 of file AlephCudaVector.h.
| Arcane::CNC_Vector< T >::CNC_Vector | ( | unsigned int | size = 0, |
| unsigned int | alignment = 1 ) |
Definition at line 15 of file AlephCudaVector.cc.
| Arcane::CNC_Vector< T >::~CNC_Vector | ( | ) |
Definition at line 23 of file AlephCudaVector.cc.
| unsigned int Arcane::CNC_Vector< T >::alignment | ( | ) | const |
Definition at line 110 of file AlephCudaVector.cc.
| void Arcane::CNC_Vector< T >::allocate | ( | unsigned int | size, |
| unsigned int | alignment = 1 ) |
does not preserve previous values stored in the array
Definition at line 31 of file AlephCudaVector.cc.
| void Arcane::CNC_Vector< T >::clear | ( | ) |
Definition at line 117 of file AlephCudaVector.cc.
| T * Arcane::CNC_Vector< T >::data | ( | ) |
low-level access, for experts only.
Definition at line 133 of file AlephCudaVector.cc.
| const T * Arcane::CNC_Vector< T >::data | ( | ) | const |
low-level access, for experts only.
Definition at line 125 of file AlephCudaVector.cc.
|
protected |
Definition at line 156 of file AlephCudaVector.cc.
| T & Arcane::CNC_Vector< T >::from_linear_index | ( | unsigned int | index | ) |
Definition at line 89 of file AlephCudaVector.cc.
| const T & Arcane::CNC_Vector< T >::from_linear_index | ( | unsigned int | index | ) | const |
Definition at line 96 of file AlephCudaVector.cc.
| unsigned int Arcane::CNC_Vector< T >::mem_usage | ( | ) | const |
Definition at line 140 of file AlephCudaVector.cc.
| T & Arcane::CNC_Vector< T >::operator() | ( | unsigned int | i | ) |
Definition at line 61 of file AlephCudaVector.cc.
| const T & Arcane::CNC_Vector< T >::operator() | ( | unsigned int | i | ) | const |
Definition at line 68 of file AlephCudaVector.cc.
| T & Arcane::CNC_Vector< T >::operator[] | ( | unsigned int | index | ) |
Definition at line 75 of file AlephCudaVector.cc.
| const T & Arcane::CNC_Vector< T >::operator[] | ( | unsigned int | index | ) | const |
Definition at line 82 of file AlephCudaVector.cc.
| void Arcane::CNC_Vector< T >::print | ( | ) | const |
Definition at line 147 of file AlephCudaVector.cc.
| void Arcane::CNC_Vector< T >::set_all | ( | const T & | value | ) |
Definition at line 52 of file AlephCudaVector.cc.
| unsigned int Arcane::CNC_Vector< T >::size | ( | ) | const |
Definition at line 103 of file AlephCudaVector.cc.
|
protected |
Definition at line 93 of file AlephCudaVector.h.
|
protected |
Definition at line 92 of file AlephCudaVector.h.
|
protected |
Definition at line 90 of file AlephCudaVector.h.
|
protected |
Definition at line 91 of file AlephCudaVector.h.