OmniSciDB  2e3a973ef4
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 omnisci {
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 omnisci
No-frills UUID type class to allow easy containerization and comparison of device UUIDs from differen...
const UUID uuid
UUID for device (hardware invariant)
Definition: DeviceGroup.h:12
const int32_t index
index into device group (currently num_gpus - start_gpu)
Definition: DeviceGroup.h:9
std::vector< DeviceIdentifier > DeviceGroup
Definition: DeviceGroup.h:15