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.
recommendedMaxWorkingSetSize
1 parent 994a8b4 commit c302325Copy full SHA for c302325
src/detection/gpu/gpu_apple.m
@@ -68,6 +68,9 @@
68
gpu->type = device.location == MTLDeviceLocationBuiltIn ? FF_GPU_TYPE_INTEGRATED : FF_GPU_TYPE_DISCRETE;
69
gpu->index = (uint32_t) device.locationNumber;
70
#endif
71
+
72
+ if (device.hasUnifiedMemory && device.recommendedMaxWorkingSetSize > 0)
73
+ gpu->shared.total = device.recommendedMaxWorkingSetSize;
74
}
75
return NULL;
76
0 commit comments