GPU (AMD): fix a silly bug

This commit is contained in:
李通洲 authored and 李通洲 committed 2023-12-25 14:47:12 +08:00
1 parent 3b6d5468da
commit cb68dccd0e
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ const char* ffDetectAmdGpuInfo(const FFGpuDriverCondition* cond, FFGpuDriverResu
ffagsDeInitialize(apiHandle);
}
if (!gpuInfo.numDevices == 0)
if (gpuInfo.numDevices == 0)
return "loading ags library failed or no AMD gpus found";
AGSDeviceInfo* device = NULL;