|
|
| ndOpenclBuffer (cl_mem_flags flags) |
| |
|
void | Cleanup () |
| |
|
void | SyncSize (cl_context context, ndInt32 size) |
| |
|
void | ReadData (cl_command_queue commandQueue) |
| |
|
void | WriteData (cl_command_queue commandQueue) |
| |
|
| ndArray () |
| | constructor, set count and capacity to zero, not memory is allocated.
|
| |
|
| ndArray (ndInt32 count) |
| | constructor, set count and capacity, allocated space for count elements.
|
| |
|
| ndArray (const ndArray &source) |
| | copy constructor, allocate and copy only m_size elements from source.
|
| |
|
| ~ndArray () |
| | deallocate all memory, dos not call destructor on any of th elements.
|
| |
|
ndInt32 | GetCount () const |
| | return the size of the array.
|
| |
| void | SetCount (ndInt32 count) |
| | Set a new size. More...
|
| |
| void | Resize (ndInt32 count) |
| | Set a new size. More...
|
| |
|
ndInt32 | GetCapacity () const |
| | return the capacity of the array.
|
| |
| T & | operator[] (ndInt32 i) |
| | Get the i element for the array. More...
|
| |
| const T & | operator[] (ndInt32 i) const |
| | Get the i element for the array. More...
|
| |
| void | Swap (ndArray &other) |
| | Interchange all the information with other. More...
|
| |
| void | PushBack (const T &element) |
| | Add element to the end of the buffer. More...
|
| |
|
void | RandomShuffle (ndInt32 count) |
| | Randomize the vector entries.
|
| |
| void | ResetMembers () |
| | set all member to 0. More...
|
| |
| void | SetMembers (ndInt32 size, void *const memory) |
| | assign all members. More...
|
| |
|
| ndClassAlloc () |
| | Empty default constructor.
|
| |
|
| ~ndClassAlloc () |
| | Empty.
|
| |