struct gpu::DeviceInfoΒΆ

#include <gpu_residency.hpp>
 
struct DeviceInfo {
    // fields
 
    bool available = false;
    std::string name;
    int computeMajor = 0;
    int computeMinor = 0;
    std::size_t totalBytes = 0;
    std::size_t freeBytes = 0;
    std::string reason;
};