We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4854fda commit b20518fCopy full SHA for b20518f
ggml/src/ggml-metal/ggml-metal.m
@@ -1087,7 +1087,7 @@ static bool ggml_backend_metal_buffer_rset_init(struct ggml_backend_metal_buffer
1087
1088
// rset free
1089
static void ggml_backend_metal_buffer_rset_free(struct ggml_backend_metal_buffer_context * ctx) {
1090
-#if TARGET_OS_OSX
+#if TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED >= 150000
1091
if (@available(macOS 15.0, *)) {
1092
if (ctx->rset) {
1093
[ctx->rset endResidency];
0 commit comments