|
HDK
|
#include <ortdevice.h>
Classes | |
| struct | MemType |
Public Types | |
| using | DeviceType = int8_t |
| using | MemoryType = int8_t |
| using | DeviceId = int16_t |
Public Member Functions | |
| constexpr | OrtDevice (DeviceType device_type_, MemoryType memory_type_, DeviceId device_id_) |
| constexpr | OrtDevice () |
| DeviceType | Type () const |
| MemoryType | MemType () const |
| DeviceId | Id () const |
| std::string | ToString () const |
| size_t | Hash () const |
| bool | operator< (const OrtDevice &other) const |
Static Public Attributes | |
| static const DeviceType | CPU = 0 |
| static const DeviceType | GPU = 1 |
| static const DeviceType | FPGA = 2 |
| static const DeviceType | NPU = 3 |
Definition at line 10 of file ortdevice.h.
| using OrtDevice::DeviceId = int16_t |
Definition at line 13 of file ortdevice.h.
| using OrtDevice::DeviceType = int8_t |
Definition at line 11 of file ortdevice.h.
| using OrtDevice::MemoryType = int8_t |
Definition at line 12 of file ortdevice.h.
|
inline |
Definition at line 29 of file ortdevice.h.
|
inline |
Definition at line 34 of file ortdevice.h.
|
inline |
Definition at line 59 of file ortdevice.h.
|
inline |
Definition at line 44 of file ortdevice.h.
|
inline |
Definition at line 40 of file ortdevice.h.
|
inline |
Definition at line 67 of file ortdevice.h.
|
inline |
Definition at line 48 of file ortdevice.h.
|
inline |
Definition at line 36 of file ortdevice.h.
|
static |
Definition at line 16 of file ortdevice.h.
|
static |
Definition at line 18 of file ortdevice.h.
|
static |
Definition at line 17 of file ortdevice.h.
|
static |
Definition at line 19 of file ortdevice.h.