ollama/discover/gpu_info_darwin.h

6 lines
134 B
Objective-C

#import <Metal/Metal.h>
#include <stdint.h>
uint64_t getRecommendedMaxVRAM();
uint64_t getPhysicalMemory();
uint64_t getFreeMemory();