Interface class for allocating NVIDIA IndeX library-side buffers for use also on the application-side. More...
#include <imemory_manager.h>
Inherits mi::base::Interface_declare< 0x636c6df4, ... >.
Public Member Functions | |
virtual ICuda_memory_buffer * | request_linear_device_memory (mi::Size elements, mi::Size type_size) const =0 |
Requesting and allocating a linear memory on a CUDA device. More... | |
template<typename T> | |
ICuda_memory_buffer * | request_linear_device_memory (mi::Size elements) const |
Convenience function for requesting and allocating a linear memory on a CUDA device. More... | |
Interface class for allocating NVIDIA IndeX library-side buffers for use also on the application-side.
|
inline |
Convenience function for requesting and allocating a linear memory on a CUDA device.
The template parameter denotes the type used for creating a linear CUDA buffer.
[in] | elements | The number of elements of a given type (type size) to be hosted in allocated device memory. |
ICuda_memory_buffer
.
|
pure virtual |
Requesting and allocating a linear memory on a CUDA device.
[in] | elements | The number of elements of a given type (type size) to be hosted in allocated device memory. |
[in] | type_size | The size of type of each of the elements that shall be stored in the allocated device memory. |
ICuda_memory_buffer
.