HW-SD
1.0.0
|
The HW-SD discovery library. More...
Classes | |
class | Filter |
Base class for all discovery filters. More... | |
class | DuplicateFilter |
Filters all duplicates during discovery. More... | |
class | MirrorFilter |
Filter overlapping duplicates with different GPU types. More... | |
class | SessionFilter |
Filters for a specific session. More... | |
class | GPUFilter |
Filters for a specific GPU regex. More... | |
class | NetFilter |
Filter for network interfaces matching prefixes and/or type. More... | |
struct | GPUInfo |
A structure containing GPU-specific information. More... | |
class | Module |
Base class for runtime-attached DSOs of a query implementation. More... | |
struct | NetInfo |
A structure containing network-specific information. More... | |
struct | NodeInfo |
A structure containing node-specific information. More... | |
class | Version |
Information about the current HW-SD version. More... |
Typedefs | |
typedef std::vector< GPUInfo > | GPUInfos |
A vector of GPUInfo structs. | |
typedef GPUInfos::iterator | GPUInfosIter |
An iterator over GPUInfos. | |
typedef GPUInfos::const_iterator | GPUInfosCIter |
A const iterator over GPUInfos. | |
typedef std::vector< NetInfo > | NetInfos |
typedef NetInfos::iterator | NetInfosIter |
typedef NetInfos::const_iterator | NetInfosCIter |
typedef lunchbox::RefPtr< Filter > | FilterPtr |
A shared Filter pointer. | |
typedef Module< GPUInfos > | GPUModule |
typedef Module< NetInfos > | NetModule |
Functions | |
FilterPtr | operator| (FilterPtr a, FilterPtr b) |
Chain two filters and return the chain. | |
std::ostream & | operator<< (std::ostream &os, const GPUInfo &info) |
bool | announceGPUInfos (const std::string &session) |
Announce the information about all found network GPUs. | |
GPUInfos | discoverGPUInfos (FilterPtr filter=FilterPtr(new DuplicateFilter)) |
bool | announceNetInfos (const std::string &session) |
Announce the information about all found network interfaces. | |
NetInfos | discoverNetInfos (FilterPtr filter=FilterPtr(new DuplicateFilter)) |
const lunchbox::UUID & | getLocalNodeID () |
std::ostream & | operator<< (std::ostream &os, const NetInfo &info) |
std::ostream & | operator<< (std::ostream &os, const NodeInfo &info) |
The HW-SD discovery library.
typedef GPUInfos::const_iterator hwsd::GPUInfosCIter |
bool hwsd::announceGPUInfos | ( | const std::string & | session | ) |
Announce the information about all found network GPUs.
bool hwsd::announceNetInfos | ( | const std::string & | session | ) |
Announce the information about all found network interfaces.
GPUInfos hwsd::discoverGPUInfos | ( | FilterPtr | filter = FilterPtr(new DuplicateFilter) | ) |
NetInfos hwsd::discoverNetInfos | ( | FilterPtr | filter = FilterPtr(new DuplicateFilter) | ) |
const lunchbox::UUID& hwsd::getLocalNodeID | ( | ) |