Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 09:12:59

0001 /**
0002  * Copyright (c) 2017-present, Facebook, Inc.
0003  * All rights reserved.
0004  *
0005  * This source code is licensed under the BSD-style license found in the
0006  * LICENSE file in the root directory of this source tree.
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 } // namespace gloo