metal : fix compile on macos 11 (whisper/3533)

This commit is contained in:
YangLe
2025-11-20 19:54:54 +08:00
committed by Georgi Gerganov
parent 196f5083ef
commit 1d321e592b

View File

@@ -11,6 +11,7 @@
#include <cassert> #include <cassert>
#include <algorithm> #include <algorithm>
#include <limits> #include <limits>
#include <cmath>
static ggml_metal_buffer_id ggml_metal_get_buffer_id(const ggml_tensor * t) { static ggml_metal_buffer_id ggml_metal_get_buffer_id(const ggml_tensor * t) {
if (!t) { if (!t) {