@@ -237,7 +237,7 @@ void upscale_f32(const float *x, float *dst, const int nb00, const int nb01,
237237 int i02 = i12 / sf2;
238238 int i03 = i13 / sf3;
239239
240- dst[index] = *(float *)((char *)x + i03 * nb03 + i02 * nb02 + i01 * nb01 + i00 * nb00);
240+ dst[index] = *(float *)((const char *)x + i03 * nb03 + i02 * nb02 + i01 * nb01 + i00 * nb00);
241241}
242242
243243void pad_f32 (const float *x, float *dst, const int ne0, const int ne00, const int ne01, const int ne02,
@@ -523,6 +523,7 @@ inline void ggml_sycl_op_silu(ggml_backend_sycl_context & ctx, const ggml_tensor
523523 (void ) src1;
524524 (void ) dst;
525525 (void ) src1_dd;
526+ (void ) ctx;
526527}
527528
528529inline void ggml_sycl_op_gelu (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
@@ -538,6 +539,7 @@ inline void ggml_sycl_op_gelu(ggml_backend_sycl_context & ctx, const ggml_tensor
538539 (void ) src1;
539540 (void ) dst;
540541 (void ) src1_dd;
542+ (void ) ctx;
541543}
542544inline void ggml_sycl_op_gelu_quick (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
543545 const ggml_tensor *src1, ggml_tensor *dst,
@@ -553,6 +555,7 @@ inline void ggml_sycl_op_gelu_quick(ggml_backend_sycl_context & ctx, const ggml_
553555 (void ) src1;
554556 (void ) dst;
555557 (void ) src1_dd;
558+ (void ) ctx;
556559}
557560
558561inline void ggml_sycl_op_tanh (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
@@ -567,6 +570,7 @@ inline void ggml_sycl_op_tanh(ggml_backend_sycl_context & ctx, const ggml_tensor
567570 (void ) src1;
568571 (void ) dst;
569572 (void ) src1_dd;
573+ (void ) ctx;
570574}
571575
572576inline void ggml_sycl_op_relu (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
@@ -582,6 +586,7 @@ inline void ggml_sycl_op_relu(ggml_backend_sycl_context & ctx, const ggml_tensor
582586 (void ) src1;
583587 (void ) dst;
584588 (void ) src1_dd;
589+ (void ) ctx;
585590}
586591
587592inline void ggml_sycl_op_hardsigmoid (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -598,6 +603,7 @@ inline void ggml_sycl_op_hardsigmoid(ggml_backend_sycl_context & ctx, const ggml
598603 (void ) src1;
599604 (void ) dst;
600605 (void ) src1_dd;
606+ (void ) ctx;
601607}
602608
603609inline void ggml_sycl_op_hardswish (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -613,6 +619,7 @@ inline void ggml_sycl_op_hardswish(ggml_backend_sycl_context & ctx, const ggml_t
613619 (void ) src1;
614620 (void ) dst;
615621 (void ) src1_dd;
622+ (void ) ctx;
616623}
617624
618625inline void ggml_sycl_op_exp (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -628,6 +635,7 @@ inline void ggml_sycl_op_exp(ggml_backend_sycl_context & ctx, const ggml_tensor
628635 (void ) src1;
629636 (void ) dst;
630637 (void ) src1_dd;
638+ (void ) ctx;
631639}
632640
633641inline void ggml_sycl_op_log (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -643,6 +651,7 @@ inline void ggml_sycl_op_log(ggml_backend_sycl_context & ctx, const ggml_tensor
643651 (void ) src1;
644652 (void ) dst;
645653 (void ) src1_dd;
654+ (void ) ctx;
646655}
647656
648657inline void ggml_sycl_op_sigmoid (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -658,6 +667,7 @@ inline void ggml_sycl_op_sigmoid(ggml_backend_sycl_context & ctx, const ggml_ten
658667 (void ) src1;
659668 (void ) dst;
660669 (void ) src1_dd;
670+ (void ) ctx;
661671}
662672
663673inline void ggml_sycl_op_sqrt (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -673,6 +683,7 @@ inline void ggml_sycl_op_sqrt(ggml_backend_sycl_context & ctx, const ggml_tensor
673683 (void ) src1;
674684 (void ) dst;
675685 (void ) src1_dd;
686+ (void ) ctx;
676687}
677688
678689inline void ggml_sycl_op_sin (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -688,6 +699,7 @@ inline void ggml_sycl_op_sin(ggml_backend_sycl_context & ctx, const ggml_tensor
688699 (void ) src1;
689700 (void ) dst;
690701 (void ) src1_dd;
702+ (void ) ctx;
691703}
692704
693705inline void ggml_sycl_op_cos (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -703,6 +715,7 @@ inline void ggml_sycl_op_cos(ggml_backend_sycl_context & ctx, const ggml_tensor
703715 (void ) src1;
704716 (void ) dst;
705717 (void ) src1_dd;
718+ (void ) ctx;
706719}
707720
708721inline void ggml_sycl_op_step (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -718,6 +731,7 @@ inline void ggml_sycl_op_step(ggml_backend_sycl_context & ctx, const ggml_tensor
718731 (void ) src1;
719732 (void ) dst;
720733 (void ) src1_dd;
734+ (void ) ctx;
721735}
722736
723737inline void ggml_sycl_op_neg (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -733,6 +747,7 @@ inline void ggml_sycl_op_neg(ggml_backend_sycl_context & ctx, const ggml_tensor
733747 (void ) src1;
734748 (void ) dst;
735749 (void ) src1_dd;
750+ (void ) ctx;
736751}
737752
738753inline void ggml_sycl_op_leaky_relu (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -752,6 +767,7 @@ inline void ggml_sycl_op_leaky_relu(ggml_backend_sycl_context & ctx, const ggml_
752767 (void ) src1;
753768 (void ) dst;
754769 (void ) src1_dd;
770+ (void ) ctx;
755771}
756772
757773inline void ggml_sycl_op_sqr (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
@@ -767,6 +783,7 @@ inline void ggml_sycl_op_sqr(ggml_backend_sycl_context & ctx, const ggml_tensor
767783 (void ) src1;
768784 (void ) dst;
769785 (void ) src1_dd;
786+ (void ) ctx;
770787}
771788
772789inline void ggml_sycl_op_upscale (ggml_backend_sycl_context & ctx, const ggml_tensor *src0,
@@ -790,6 +807,7 @@ inline void ggml_sycl_op_upscale(ggml_backend_sycl_context & ctx, const ggml_ten
790807 (void ) src1;
791808 (void ) dst;
792809 (void ) src1_dd;
810+ (void ) ctx;
793811}
794812
795813inline void ggml_sycl_op_pad (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
@@ -808,6 +826,7 @@ inline void ggml_sycl_op_pad(ggml_backend_sycl_context & ctx, const ggml_tensor
808826 (void ) src1;
809827 (void ) dst;
810828 (void ) src1_dd;
829+ (void ) ctx;
811830}
812831
813832inline void ggml_sycl_op_acc (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
@@ -828,6 +847,7 @@ inline void ggml_sycl_op_acc(ggml_backend_sycl_context & ctx, const ggml_tensor
828847 acc_f32_sycl (src0_dd, src1_dd, dst_dd, ggml_nelements (dst), src1->ne [0 ], src1->ne [1 ], src1->ne [2 ], nb1, nb2, offset, main_stream);
829848
830849 (void ) dst;
850+ (void ) ctx;
831851}
832852
833853inline void ggml_sycl_op_add (ggml_backend_sycl_context & ctx, const ggml_tensor *src0, const ggml_tensor *src1,
0 commit comments