a189810df6
* read iogpu.wired_limit_mb on macOS Fix for https://github.com/ollama/ollama/issues/1826 * improved determination of available vram on macOS read the recommended maximal vram on macOS via Metal API * Removed macOS-specific logging * Remove logging from gpu_darwin.go * release Core Foundation object fixes a possible memory leak
3 lines
78 B
Objective-C
3 lines
78 B
Objective-C
#import <Metal/Metal.h>
|
|
#include <stdint.h>
|
|
uint64_t getRecommendedMaxVRAM();
|