Skip to content

Commit c7bc7f0

Browse files
committed
fix: remove trailing whitespace and add missing newline (EditorConfig)
1 parent a2fa50a commit c7bc7f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ggml/src/ggml-sycl/ggml-sycl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3831,7 +3831,7 @@ static bool ggml_sycl_compute_forward(ggml_backend_sycl_context & ctx, struct gg
38313831
break;
38323832
case GGML_OP_LEAKY_RELU:
38333833
ggml_sycl_leaky_relu(ctx, dst);
3834-
break;
3834+
break;
38353835
case GGML_OP_RMS_NORM_BACK:
38363836
ggml_sycl_rms_norm_back(ctx, dst);
38373837
break;

ggml/src/ggml-sycl/norm.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,14 +567,14 @@ void ggml_sycl_op_rms_norm_back(ggml_backend_sycl_context & ctx, ggml_tensor * d
567567
}
568568

569569
// warp-level reduction
570-
sycl::float2 xx = sycl::float2(sum_xx,
570+
sycl::float2 xx = sycl::float2(sum_xx,
571571
#ifndef GGML_SYCL_RMS_BACK_FAST
572572
c_xx
573573
#else
574574
0.f
575575
#endif
576576
);
577-
sycl::float2 xg = sycl::float2(sum_xg,
577+
sycl::float2 xg = sycl::float2(sum_xg,
578578
#ifndef GGML_SYCL_RMS_BACK_FAST
579579
c_xg
580580
#else
@@ -654,4 +654,4 @@ void ggml_sycl_op_l2_norm(ggml_backend_sycl_context& ctx, ggml_tensor* dst) {
654654

655655
l2_norm_f32_sycl(src0_dd, dst_dd, ne00, nrows, eps, main_stream, ctx.device);
656656

657-
}
657+
}

0 commit comments

Comments
 (0)