File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 76
76
77
77
78
78
typedef enum uct_cuda_base_gen {
79
- UCT_CUDA_BASE_GEN_PASCAL = 6 ,
80
- UCT_CUDA_BASE_GEN_VOLTA = 7
79
+ UCT_CUDA_BASE_GEN_P100 = 6 ,
80
+ UCT_CUDA_BASE_GEN_V100 = 7 ,
81
+ UCT_CUDA_BASE_GEN_A100 = 8
81
82
} uct_cuda_base_gen_t ;
82
83
83
84
Original file line number Diff line number Diff line change @@ -100,12 +100,18 @@ static double uct_cuda_ipc_iface_get_bw()
100
100
return 0 ;
101
101
}
102
102
103
- /* TODO: Detect nvswitch */
103
+ /*
104
+ * TODO: Detect nvswitch
105
+ * TODO: Not reporting peak unidirectional bandwidth to avoid dropping other
106
+ * transports like cma/knem/ib in rma_bw_lanes
107
+ */
104
108
switch (major_version ) {
105
- case UCT_CUDA_BASE_GEN_PASCAL :
109
+ case UCT_CUDA_BASE_GEN_P100 :
106
110
return 20000.0 * UCS_MBYTE ;
107
- case UCT_CUDA_BASE_GEN_VOLTA :
111
+ case UCT_CUDA_BASE_GEN_V100 :
108
112
return 25000.0 * UCS_MBYTE ;
113
+ case UCT_CUDA_BASE_GEN_A100 :
114
+ return 30000.0 * UCS_MBYTE ;
109
115
default :
110
116
return 6911.0 * UCS_MBYTE ;
111
117
}
You can’t perform that action at this time.
0 commit comments