Gets a pointer to the buffer data, which is accessible to the device but not necessarily to the host as well, depending on the storage mode. Null pointer may be returned if the buffer is empty or getting a pointer to data with device storage is not supported by the device.
| 284 | // the host as well, depending on the storage mode. Null pointer may be returned if the buffer |
| 285 | // is empty or getting a pointer to data with device storage is not supported by the device. |
| 286 | void* getData() const |
| 287 | { |
| 288 | return oidnGetBufferData(handle); |
| 289 | } |
| 290 | |
| 291 | // Copies data from a region of the buffer to host memory. |
| 292 | void read(size_t byteOffset, size_t byteSize, void* dstHostPtr) const |
nothing calls this directly
no test coverage detected