OmniSciDB
085a039ca4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DeviceGroup.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
Shared/uuid.h
"
6
7
namespace
heavyai {
8
struct
DeviceIdentifier
{
9
const
int32_t
index
;
10
const
int32_t
gpu_id
;
11
const
UUID
uuid
;
13
};
14
15
using
DeviceGroup
= std::vector<DeviceIdentifier>;
16
}
// namespace heavyai
heavyai::DeviceIdentifier::gpu_id
const int32_t gpu_id
Definition:
DeviceGroup.h:10
heavyai::DeviceGroup
std::vector< DeviceIdentifier > DeviceGroup
Definition:
DeviceGroup.h:15
uuid.h
No-frills UUID type class to allow easy containerization and comparison of device UUIDs from differen...
heavyai::DeviceIdentifier
Definition:
DeviceGroup.h:8
heavyai::UUID
Definition:
uuid.h:35
heavyai::DeviceIdentifier::uuid
const UUID uuid
UUID for device (hardware invariant)
Definition:
DeviceGroup.h:12
heavyai::DeviceIdentifier::index
const int32_t index
index into device group (currently num_gpus - start_gpu)
Definition:
DeviceGroup.h:9
Shared
DeviceGroup.h
Generated on Sat Apr 16 2022 06:28:55 for OmniSciDB by
1.8.5