metal : fix compile on macos 11 (#3533)

This commit is contained in:
YangLe 2025-11-20 19:54:54 +08:00 committed by GitHub
parent b12abefa9b
commit 961aec7384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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