TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::gpu::DeviceInfo Struct Reference

#include <gpu/device.hpp>

Public Attributes

int index = -1
 backend runtime index; select by uuid/name for stability
std::string name
std::string uuid
 CUDA UUID or Metal registry ID.
int cc_major = 0
int cc_minor = 0
std::size_t total_bytes = 0
std::size_t free_bytes = 0
 CUDA free memory or Metal working-set headroom.

Detailed Description

Definition at line 18 of file device.hpp.

Member Data Documentation

◆ cc_major

int tmk::gpu::DeviceInfo::cc_major = 0

Definition at line 22 of file device.hpp.

◆ cc_minor

int tmk::gpu::DeviceInfo::cc_minor = 0

Definition at line 22 of file device.hpp.

◆ free_bytes

std::size_t tmk::gpu::DeviceInfo::free_bytes = 0

CUDA free memory or Metal working-set headroom.

Definition at line 24 of file device.hpp.

◆ index

int tmk::gpu::DeviceInfo::index = -1

backend runtime index; select by uuid/name for stability

Definition at line 19 of file device.hpp.

◆ name

std::string tmk::gpu::DeviceInfo::name

Definition at line 20 of file device.hpp.

◆ total_bytes

std::size_t tmk::gpu::DeviceInfo::total_bytes = 0

Definition at line 23 of file device.hpp.

◆ uuid

std::string tmk::gpu::DeviceInfo::uuid

CUDA UUID or Metal registry ID.

Definition at line 21 of file device.hpp.


The documentation for this struct was generated from the following file: