@@ -1920,6 +1920,8 @@ static void ggml_sycl_op_get_rows(ggml_backend_sycl_context & ctx, ggml_tensor
19201920 GGML_ASSERT (dst->src [0 ]->nb [0 ] == ggml_type_size (dst->src [0 ]->type ));
19211921 GGML_ASSERT (dst->src [1 ]->nb [0 ] == ggml_type_size (dst->src [1 ]->type ));
19221922 GGML_ASSERT (dst->nb [0 ] == ggml_type_size (dst->type ));
1923+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->src [1 ]->buffer ));
1924+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
19231925
19241926 switch (dst->src [0 ]->type ) {
19251927 case GGML_TYPE_F16:
@@ -2087,6 +2089,7 @@ static void ggml_sycl_op_pool2d(ggml_backend_sycl_context & ctx, ggml_tensor *d
20872089
20882090 GGML_ASSERT (dst->src [0 ]->type == GGML_TYPE_F32);
20892091 GGML_ASSERT (dst->type == GGML_TYPE_F32);
2092+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
20902093
20912094 const int32_t * opts = (const int32_t *)dst->op_params ;
20922095 enum ggml_op_pool op = static_cast <ggml_op_pool>(opts[0 ]);
@@ -2125,6 +2128,7 @@ static void ggml_sycl_op_pool2d(ggml_backend_sycl_context & ctx, ggml_tensor *d
21252128inline void ggml_sycl_op_sum (ggml_backend_sycl_context & ctx, ggml_tensor * dst) {
21262129 GGML_ASSERT (dst->src [0 ]->type == GGML_TYPE_F32);
21272130 GGML_ASSERT (dst->type == GGML_TYPE_F32);
2131+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
21282132
21292133 const int64_t ne = ggml_nelements (dst->src [0 ]);
21302134 dpct::queue_ptr main_stream = ctx.stream ();
@@ -2138,6 +2142,7 @@ inline void ggml_sycl_op_sum_rows(ggml_backend_sycl_context & ctx, ggml_tensor *
21382142
21392143 GGML_ASSERT (dst->src [0 ]->type == GGML_TYPE_F32);
21402144 GGML_ASSERT (dst->type == GGML_TYPE_F32);
2145+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
21412146
21422147 const int64_t ncols = dst->src [0 ]->ne [0 ];
21432148 const int64_t nrows = ggml_nrows (dst->src [0 ]);
@@ -2152,6 +2157,7 @@ inline void ggml_sycl_op_diag_mask_inf(ggml_backend_sycl_context & ctx, ggml_ten
21522157
21532158 GGML_ASSERT (dst->src [0 ]->type == GGML_TYPE_F32);
21542159 GGML_ASSERT (dst->type == GGML_TYPE_F32);
2160+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
21552161
21562162 const int64_t ne00 = dst->src [0 ]->ne [0 ];
21572163 const int64_t ne01 = dst->src [0 ]->ne [1 ];
@@ -2169,6 +2175,7 @@ inline void ggml_sycl_op_scale(ggml_backend_sycl_context & ctx, ggml_tensor * ds
21692175
21702176 GGML_ASSERT (dst->src [0 ]->type == GGML_TYPE_F32);
21712177 GGML_ASSERT (dst->type == GGML_TYPE_F32);
2178+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
21722179
21732180 float scale;
21742181 memcpy (&scale, dst->op_params , sizeof (float ));
@@ -2189,6 +2196,7 @@ inline void ggml_sycl_op_clamp(ggml_backend_sycl_context & ctx, ggml_tensor *dst
21892196
21902197 GGML_ASSERT (dst->src [0 ]->type == GGML_TYPE_F32);
21912198 GGML_ASSERT (dst->type == GGML_TYPE_F32);
2199+ GGML_ASSERT (!ggml_backend_buffer_is_sycl_split (dst->buffer ));
21922200
21932201 float min;
21942202 float max;
0 commit comments