Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:10:12

0001 /**
0002  * Copyright (c) Facebook, Inc. and its affiliates.
0003  */
0004 
0005 #pragma once
0006 
0007 #include "linux.h"
0008 
0009 namespace gloo {
0010 
0011 // We defined these structs in a separate header and dont include
0012 // it from and .cu files because of an NVCC 7.5 bug
0013 
0014 // Matches 03 (Display controller), 02 (3D controller)
0015 const auto kPCIClass3D = PCIClassMatch{0x030200, 0xffff00};
0016 
0017 // Matches 02 (Network controller), both Ethernet (00) and InfiniBand (07)
0018 const auto kPCIClassNetwork = PCIClassMatch{0x020000, 0xff0000};
0019 
0020 } // namespace gloo