Skip to content

Commit 961aec7

Browse files
metal : fix compile on macos 11 (#3533)
1 parent b12abef commit 961aec7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml-metal/ggml-metal-ops.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <cassert>
1212
#include <algorithm>
1313
#include <limits>
14+
#include <cmath>
1415

1516
static ggml_metal_buffer_id ggml_metal_get_buffer_id(const ggml_tensor * t) {
1617
if (!t) {

0 commit comments

Comments
 (0)