File tree 1 file changed +7
-0
lines changed 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 16
16
ARCH_VOLTA,
17
17
ARCH_TURING,
18
18
ARCH_AMPERE,
19
+ ARCH_ADA,
19
20
ARCH_UNKNOWN
20
21
};
21
22
@@ -27,6 +28,7 @@ static const char *uarch_str[] = {
27
28
/* [ARCH_VOLTA] = */ " Volta" ,
28
29
/* [ARCH_TURING] = */ " Turing" ,
29
30
/* [ARCH_AMPERE] = */ " Ampere" ,
31
+ /* [ARCH_ADA] = */ " Ada Lovelace" ,
30
32
};
31
33
32
34
struct benchmark_gpu {
@@ -143,8 +145,12 @@ struct gpu* get_gpu_info(int gpu_idx) {
143
145
break ;
144
146
case 80 :
145
147
case 86 :
148
+ case 87 :
146
149
gpu->uarch = ARCH_AMPERE;
147
150
break ;
151
+ case 89 :
152
+ gpu->uarch = ARCH_ADA;
153
+ break ;
148
154
default :
149
155
printf (" GPU: %s\n " , gpu->name );
150
156
printErr (" Invalid uarch: %d.%d\n " , deviceProp.major , deviceProp.minor );
@@ -162,6 +168,7 @@ struct gpu* get_gpu_info(int gpu_idx) {
162
168
break ;
163
169
case ARCH_TURING:
164
170
case ARCH_AMPERE: // UNTESTED
171
+ case ARCH_ADA: // UNTESTED
165
172
gpu->latency = 4 ;
166
173
break ;
167
174
default :
You can’t perform that action at this time.
0 commit comments