Fix crash when NPKit is enabled (#887)

Tá an tiomantas seo le fáil i:
Wenkai Du údaraithe agus GitHub tiomanta 2023-09-13 11:00:12 -07:00
1 tuismitheoir e58ec78d35
tiomantas 6a4d5ec089
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -72,7 +72,7 @@ int GetGcnArchName(int deviceId, char* out) {
}
double GetDeviceWallClockRateInKhz(int deviceId) {
char* gcn;
char gcn[256];
GetGcnArchName(deviceId, gcn);
if (strncmp("gfx94", gcn, 5) == 0)
return 1.0E5;