We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63cdc47 commit 77fbfd3Copy full SHA for 77fbfd3
src/detection/gpu/gpu_amd.c
@@ -63,5 +63,8 @@ const char* ffDetectAmdGpuInfo(const FFGpuDriverCondition* cond, FFGpuDriverResu
63
if (result.frequency)
64
*result.frequency = device->coreClock / 1000.; // Maximum frequency
65
66
+ if (result.type)
67
+ *result.type = device->isAPU ? FF_GPU_TYPE_INTEGRATED : FF_GPU_TYPE_DISCRETE;
68
+
69
return NULL;
70
}
0 commit comments