Skip to content

Commit 5fdce91

Browse files
committed
metal : fix build
ggml-ci
1 parent 9248aec commit 5fdce91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/src/ggml-metal/ggml-metal.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,8 @@ static void ggml_metal_free(struct ggml_backend_metal_context * ctx) {
17381738
struct ggml_backend_metal_buffer buffers[GGML_METAL_MAX_BUFFERS];
17391739

17401740
// optional MTLResidencySet
1741-
id<MTLResidencySet> rset;
1741+
// note: cannot use explicity "id<MTLResidencySet>" here because it is not available on certain OSes
1742+
id rset;
17421743

17431744
// pointers to global device objects
17441745
id<MTLDevice> device;

0 commit comments

Comments
 (0)