gpu: report system free memory instead of 0 (#5521)

This commit is contained in:
Jeffrey Morgan
2024-07-06 19:35:04 -04:00
committed by GitHub
parent 4607c70641
commit f8241bfba3
3 changed files with 26 additions and 3 deletions

View File

@@ -2,3 +2,4 @@
#include <stdint.h>
uint64_t getRecommendedMaxVRAM();
uint64_t getPhysicalMemory();
uint64_t getFreeMemory();