@@ -71,20 +71,15 @@ class RocmComputeCapability {
71
71
72
72
bool gfx9_mi200 () const { return gfx_version () == " gfx90a" ; }
73
73
74
- bool gfx9_mi300 () const {
75
- static constexpr absl::string_view kList [] = {" gfx940" , " gfx941" , " gfx942" };
76
- return absl::c_count (kList , gfx_version ()) != 0 ;
77
- }
74
+ bool gfx9_mi300 () const { return gfx_version () == " gfx942" ; }
78
75
79
76
bool gfx9_mi100_or_later () const {
80
- static constexpr absl::string_view kList [] = {" gfx908" , " gfx90a" , " gfx940" ,
81
- " gfx941" , " gfx942" };
77
+ static constexpr absl::string_view kList [] = {" gfx908" , " gfx90a" , " gfx942" };
82
78
return absl::c_count (kList , gfx_version ()) != 0 ;
83
79
}
84
80
85
81
bool gfx9_mi200_or_later () const {
86
- static constexpr absl::string_view kList [] = {" gfx90a" , " gfx940" , " gfx941" ,
87
- " gfx942" };
82
+ static constexpr absl::string_view kList [] = {" gfx90a" , " gfx942" };
88
83
return absl::c_count (kList , gfx_version ()) != 0 ;
89
84
}
90
85
@@ -156,7 +151,7 @@ class RocmComputeCapability {
156
151
" gfx906" , // MI50 / MI60
157
152
" gfx908" , // MI100
158
153
" gfx90a" , // MI200
159
- " gfx940 " , " gfx941 " , " gfx942 " , // MI300
154
+ " gfx942 " , // MI300
160
155
" gfx1030" , // RX68xx / RX69xx
161
156
" gfx1100" , " gfx1101" , " gfx1102" , // RX7900
162
157
" gfx1200" , " gfx1201" , // RX8900
0 commit comments