GPU: prepare for memory type & shared memory usage detection

This commit is contained in:
李通洲 committed 2025-03-24 15:21:14 +08:00
1 parent 0ae5fceb07
commit cc246ea239
10 files changed
+21 -7

No files matched your search

+1
View File
@@ -70,6 +70,7 @@ const char* ffGPUDetectByDirectX(FF_MAYBE_UNUSED const FFGPUOptions* options, FF
FFGPUResult* gpu = (FFGPUResult*) ffListAdd(gpus);
ffStrbufInitS(&gpu->name, desc);
ffStrbufInit(&gpu->memoryType);
gpu->index = FF_GPU_INDEX_UNSET;
gpu->coreCount = FF_GPU_CORE_COUNT_UNSET;
gpu->coreUsage = FF_GPU_CORE_USAGE_UNSET;