|
|
virtual bool | flush ()=0 |
| | Flush the memory into the device.
|
| |
| virtual bool | allocate (size_t sz)=0 |
| | allocate on device a buffer of More...
|
| |
| virtual bool | resize (size_t sz)=0 |
| | resize on device a buffer More...
|
| |
| virtual void | destroy ()=0 |
| | Destroy the buffer on the device. More...
|
| |
| virtual bool | copy (const memory &m)=0 |
| | Copy the memory from one device to another device. More...
|
| |
|
virtual size_t | size () const =0 |
| | get the size of the buffer
|
| |
| virtual void * | getPointer ()=0 |
| | return a data pointer More...
|
| |
| virtual const void * | getPointer () const =0 |
| | return a data pointer More...
|
| |
| virtual | ~memory () |
| | destructor More...
|
| |
|
virtual void | incRef ()=0 |
| | Increment the internal reference counter.
|
| |
|
virtual void | decRef ()=0 |
| | Decrement the internal reference counter.
|
| |
| virtual long int | ref ()=0 |
| | Return the actual reference counter. More...
|
| |
| virtual bool | isInitialized ()=0 |
| | Return if the actual memory that is going to be allocated is already initialized. More...
|
| |
| virtual void * | getDevicePointer ()=0 |
| | Return the device pointer of the memory. More...
|
| |
|
virtual void | deviceToHost ()=0 |
| | Copy the memory from device to host.
|
| |
|
virtual void | hostToDevice ()=0 |
| | Copy the memory from host to device.
|
| |
| virtual void | hostToDevice (size_t start, size_t top)=0 |
| | Copy the memory from host to device. More...
|
| |
| virtual void | deviceToHost (size_t start, size_t stop)=0 |
| | Copy the memory from device to host. More...
|
| |
|
virtual void | fill (unsigned char c)=0 |
| | Fill the buffer with a particular byte.
|
| |
Definition at line 22 of file memory.hpp.
◆ ~memory()
| virtual memory::~memory |
( |
| ) |
|
|
inlinevirtual |
destructor
destructor
Definition at line 93 of file memory.hpp.
◆ allocate()
| virtual bool memory::allocate |
( |
size_t |
sz | ) |
|
|
pure virtual |
◆ copy()
| virtual bool memory::copy |
( |
const memory & |
m | ) |
|
|
pure virtual |
◆ destroy()
| virtual void memory::destroy |
( |
| ) |
|
|
pure virtual |
◆ deviceToHost()
| virtual void memory::deviceToHost |
( |
size_t |
start, |
|
|
size_t |
stop |
|
) |
| |
|
pure virtual |
◆ getDevicePointer()
| virtual void* memory::getDevicePointer |
( |
| ) |
|
|
pure virtual |
◆ getPointer() [1/2]
| virtual const void* memory::getPointer |
( |
| ) |
const |
|
pure virtual |
◆ getPointer() [2/2]
| virtual void* memory::getPointer |
( |
| ) |
|
|
pure virtual |
◆ hostToDevice()
| virtual void memory::hostToDevice |
( |
size_t |
start, |
|
|
size_t |
top |
|
) |
| |
|
pure virtual |
◆ isInitialized()
| virtual bool memory::isInitialized |
( |
| ) |
|
|
pure virtual |
◆ ref()
| virtual long int memory::ref |
( |
| ) |
|
|
pure virtual |
◆ resize()
| virtual bool memory::resize |
( |
size_t |
sz | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: