Skip to content

Commit 50da7ca

Browse files
committed
GPU (Apple): always use metal to detect vmem
1 parent a6528cd commit 50da7ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/detection/gpu/gpu_apple.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ const char* ffDetectGPUImpl(const FFGPUOptions* options, FFlist* gpus)
6363
ffStrbufInit(&gpu->driver); // Ok for both Apple and Intel
6464
ffCfDictGetString(properties, CFSTR("CFBundleIdentifier"), &gpu->driver);
6565

66-
int vram; // Supported on Intel
67-
if(!ffCfDictGetInt(properties, CFSTR("VRAM,totalMB"), &vram))
68-
gpu->dedicated.total = (uint64_t) vram * 1024 * 1024;
69-
7066
if(ffCfDictGetInt(properties, CFSTR("gpu-core-count"), &gpu->coreCount)) // For Apple
7167
gpu->coreCount = FF_GPU_CORE_COUNT_UNSET;
7268

0 commit comments

Comments
 (0)