GPU (Windows): support vmem total / usage detection #416
vmem usage detection is guarded behind `--allow-slow-operations` because it's really slow sometimes
This commit is contained in:
6 files changed
+78
-33
No files matched your search
@@ -199,6 +199,9 @@ static void pciHandleDevice(const FFinstance* instance, FFlist* results, PCIData
|
||||
|
||||
FFGPUResult* gpu = ffListAdd(results);
|
||||
|
||||
gpu->id = 0;
|
||||
gpu->dedicatedTotal = gpu->dedicatedUsed = gpu->sharedTotal = gpu->sharedUsed = FF_GPU_VMEM_SIZE_UNSET;
|
||||
|
||||
ffStrbufInit(&gpu->vendor);
|
||||
pciDetectVendorName(gpu, pci, device);
|
||||
|
||||
|
||||
Reference in new issue
Block a user