![]() |
ONNX Runtime
|
Descriptor for importing external memory. More...
#include <onnxruntime_c_api.h>
Public Attributes | |
| uint32_t | version |
| OrtExternalMemoryHandleType | handle_type |
| void * | native_handle |
| size_t | size_bytes |
| size_t | offset_bytes |
Descriptor for importing external memory.
| OrtExternalMemoryHandleType OrtExternalMemoryDescriptor::handle_type |
Type of the external memory handle
| void* OrtExternalMemoryDescriptor::native_handle |
Platform-specific handle (e.g., Windows HANDLE)
| size_t OrtExternalMemoryDescriptor::offset_bytes |
Offset in bytes into the allocation (default 0). Base offset for the imported memory region.
| size_t OrtExternalMemoryDescriptor::size_bytes |
Total size in bytes of the external allocation
| uint32_t OrtExternalMemoryDescriptor::version |
Must be ORT_API_VERSION