Fix crash when NPKit is enabled (#887)
Tá an tiomantas seo le fáil i:
1 tuismitheoir
e58ec78d35
tiomantas
6a4d5ec089
1 comhad athraithe
+1
-1
@@ -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;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir