metal : support I32 -> I32 copy (#17317)

This commit is contained in:
Georgi Gerganov
2025-11-17 11:52:00 +02:00
committed by GitHub
parent 3347e6d904
commit 7aaeedc098
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -989,7 +989,7 @@ bool ggml_metal_device_supports_op(ggml_metal_device_t dev, const struct ggml_te
return false;
}
case GGML_TYPE_I32:
return op->type == GGML_TYPE_F32;
return op->type == GGML_TYPE_F32 || op->type == GGML_TYPE_I32;
default:
return false;
};