Struct GpuId

Nested Relationships

Nested Types

Struct Documentation

struct GpuId

Public Types

enum class Type

Values:

enumerator Undefined
enumerator Luid
enumerator MajorMinor

Public Functions

inline bool operator!=(const GpuId &rhs) const noexcept
inline operator bool() const noexcept

Public Members

Type type_id = Type::Undefined
Luid luid
MajorMinor major_minor
uint8_t bytes[8] = {}
union gpa::metrics::GpuId::[anonymous] [anonymous]

Public Static Functions

static inline GpuId BuildByLuid(uint32_t low_part, int32_t high_part)
static inline GpuId BuildByMajorMinor(int32_t major, int32_t minor)
struct Luid

Public Members

uint32_t low_part
int32_t high_part
struct MajorMinor

Public Members

int32_t major
int32_t minor