File indexing completed on 2025-03-13 09:12:59
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include <set>
0012 #include <string>
0013 #include <vector>
0014
0015 namespace gloo {
0016
0017 const std::set<std::string>& kernelModules();
0018
0019 struct PCIClassMatch {
0020 int value;
0021 int mask;
0022 };
0023
0024 std::vector<std::string> pciDevices(PCIClassMatch);
0025
0026 int pciDistance(const std::string& a, const std::string& b);
0027
0028 const std::string& interfaceToBusID(const std::string& name);
0029
0030 int getInterfaceSpeedByName(const std::string& ifname);
0031
0032 const std::string& infinibandToBusID(const std::string& name);
0033
0034 }