HDK
|
#include <ortmemoryinfo.h>
Public Member Functions | |
OrtMemoryInfo ()=default | |
constexpr | OrtMemoryInfo (const char *name_, OrtAllocatorType type_, OrtDevice device_=OrtDevice(), int id_=0, OrtMemType mem_type_=OrtMemTypeDefault) |
bool | operator< (const OrtMemoryInfo &other) const |
size_t | Hash () const |
std::string | ToString () const |
Public Attributes | |
const char * | name = nullptr |
int | id = -1 |
OrtMemType | mem_type = OrtMemTypeDefault |
OrtAllocatorType | alloc_type = OrtInvalidAllocator |
OrtDevice | device |
Definition at line 10 of file ortmemoryinfo.h.
|
default |
|
inline |
Definition at line 20 of file ortmemoryinfo.h.
|
inline |
Definition at line 47 of file ortmemoryinfo.h.
|
inline |
Definition at line 34 of file ortmemoryinfo.h.
|
inline |
Definition at line 55 of file ortmemoryinfo.h.
OrtAllocatorType OrtMemoryInfo::alloc_type = OrtInvalidAllocator |
Definition at line 17 of file ortmemoryinfo.h.
OrtDevice OrtMemoryInfo::device |
Definition at line 18 of file ortmemoryinfo.h.
int OrtMemoryInfo::id = -1 |
Definition at line 15 of file ortmemoryinfo.h.
OrtMemType OrtMemoryInfo::mem_type = OrtMemTypeDefault |
Definition at line 16 of file ortmemoryinfo.h.
const char* OrtMemoryInfo::name = nullptr |
Definition at line 14 of file ortmemoryinfo.h.