metal : fix compile on macos 11 (whisper/3533)
This commit is contained in:
parent
196f5083ef
commit
1d321e592b
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue