OmniSciDB
3a86f6ec37
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
{
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 omnisci
omnisci::UUID
Definition:
uuid.h:35
omnisci
Definition:
omnisci_fs.h:22
omnisci::DeviceIdentifier
Definition:
DeviceGroup.h:8
uuid.h
No-frills UUID type class to allow easy containerization and comparison of device UUIDs from differen...
omnisci::DeviceIdentifier::uuid
const UUID uuid
UUID for device (hardware invariant)
Definition:
DeviceGroup.h:12
omnisci::DeviceIdentifier::index
const int32_t index
index into device group (currently num_gpus - start_gpu)
Definition:
DeviceGroup.h:9
omnisci::DeviceGroup
std::vector< DeviceIdentifier > DeviceGroup
Definition:
DeviceGroup.h:15
omnisci::DeviceIdentifier::gpu_id
const int32_t gpu_id
Definition:
DeviceGroup.h:10
Shared
DeviceGroup.h
Generated on Mon Jan 25 2021 18:25:09 for OmniSciDB by
1.8.13