GPU (Linux): detect GPU core count and freq for asahi linux

This commit is contained in:
Carter Li
2024-05-20 15:32:13 +08:00
parent c2eaea3665
commit 10ca77610e
2 changed files with 53 additions and 16 deletions
+2
View File
@@ -127,6 +127,7 @@ void ffPrintGPU(FFGPUOptions* options)
ffStrbufDestroy(&gpu->vendor);
ffStrbufDestroy(&gpu->name);
ffStrbufDestroy(&gpu->driver);
ffStrbufDestroy(&gpu->platformApi);
}
}
@@ -327,6 +328,7 @@ void ffGenerateGPUJsonResult(FFGPUOptions* options, yyjson_mut_doc* doc, yyjson_
ffStrbufDestroy(&gpu->vendor);
ffStrbufDestroy(&gpu->name);
ffStrbufDestroy(&gpu->driver);
ffStrbufDestroy(&gpu->platformApi);
}
}