ollama/gpu/gpu_info_darwin.h
2024-07-06 19:35:04 -04:00

5 lines
134 B
Objective-C

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