[SYCL] fix unsupport ACC UT cases for noncontiguous (#25124)

* fix unsupport ACC UT cases for noncontiguous

* update ops.md
This commit is contained in:
Neo Zhang
2026-07-07 10:40:38 +03:00
committed by GitHub
parent 9e5ef0dbb1
commit 95e5254c0a
2 changed files with 41 additions and 18 deletions
+1 -2
View File
@@ -5852,9 +5852,8 @@ static bool do_ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, cons
}
case GGML_OP_POOL_2D:
case GGML_OP_POOL_1D:
return true;
case GGML_OP_ACC:
return ggml_is_contiguous(op->src[0]) && ggml_is_contiguous(op->src[1]);
return true;
case GGML_OP_PAD:
if (ggml_get_op_params_i32(op, 8) != 0) {
return false;