|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
how to resolve int-rowsize duplicate? More...
Public Member Functions | |
| DeviceStorage (size_t n) | |
| uint8_t * | raw_ptr () override |
| Raw byte pointer to the underlying storage. | |
| void | copy_host_to_device (uint8_t *host_ptr, size_t n_bytes) override |
Copy n_bytes from host_ptr into this device buffer. | |
| void | copy_device_to_host (uint8_t *host_ptr, size_t n_bytes) override |
Copy n_bytes from this device buffer into host_ptr. | |
| void | copy_to_device (uint8_t *device_ptr_dst, size_t n_bytes) override |
Device-to-device copy of n_bytes into device_ptr_dst. | |
| size_t | bytes () const override |
| Buffer size in bytes. | |
| DeviceBackend | backend () const override |
| Which backend the buffer lives on. | |
Public Member Functions inherited from DNDS::DeviceStorageBase | |
| virtual | ~DeviceStorageBase () |
how to resolve int-rowsize duplicate?
Definition at line 34 of file DeviceStorage.cpp.
|
inlineexplicit |
Definition at line 42 of file DeviceStorage.cpp.
|
inlineoverridevirtual |
Which backend the buffer lives on.
Implements DNDS::DeviceStorageBase.
Definition at line 83 of file DeviceStorage.cpp.
|
inlineoverridevirtual |
Buffer size in bytes.
=0 is a definition and all virtual functions must be defined to have vtable never omit =0 or use {}
Implements DNDS::DeviceStorageBase.
Definition at line 77 of file DeviceStorage.cpp.
|
inlineoverridevirtual |
Copy n_bytes from this device buffer into host_ptr.
Implements DNDS::DeviceStorageBase.
Definition at line 61 of file DeviceStorage.cpp.
|
inlineoverridevirtual |
Copy n_bytes from host_ptr into this device buffer.
Implements DNDS::DeviceStorageBase.
Definition at line 53 of file DeviceStorage.cpp.
|
inlineoverridevirtual |
Device-to-device copy of n_bytes into device_ptr_dst.
Implements DNDS::DeviceStorageBase.
Definition at line 69 of file DeviceStorage.cpp.
|
inlineoverridevirtual |
Raw byte pointer to the underlying storage.
Implements DNDS::DeviceStorageBase.
Definition at line 47 of file DeviceStorage.cpp.