fall back rope when src0 is not contiguous

Signed-off-by: Yu Zhentao <zhentao.yu@intel.com>
This commit is contained in:
Yu Zhentao 2024-06-27 08:23:54 +00:00
parent 6514f176a4
commit ec55dc5098

View file

@ -5938,6 +5938,9 @@ GGML_CALL static bool ggml_backend_sycl_supports_op(ggml_backend_t backend, cons
case GGML_OP_CONT:
case GGML_OP_DIAG_MASK_INF:
case GGML_OP_SOFT_MAX:
return true;
case GGML_OP_ROPE:
return ggml_is_contiguous(op->src[0]);
case GGML_OP_ROPE:
case GGML_OP_IM2COL:
case GGML_OP_POOL_2D: