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 |
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 9 of file ortdevice.h.
using OrtDevice::DeviceId = int16_t |
Definition at line 12 of file ortdevice.h.
using OrtDevice::DeviceType = int8_t |
Definition at line 10 of file ortdevice.h.
using OrtDevice::MemoryType = int8_t |
Definition at line 11 of file ortdevice.h.
|
inline |
Definition at line 28 of file ortdevice.h.
|
inline |
Definition at line 33 of file ortdevice.h.
|
inline |
Definition at line 43 of file ortdevice.h.
|
inline |
Definition at line 39 of file ortdevice.h.
|
inline |
Definition at line 47 of file ortdevice.h.
|
inline |
Definition at line 35 of file ortdevice.h.
|
static |
Definition at line 15 of file ortdevice.h.
|
static |
Definition at line 17 of file ortdevice.h.
|
static |
Definition at line 16 of file ortdevice.h.
|
static |
Definition at line 18 of file ortdevice.h.