Skip to content

Commit 974ff97

Browse files
committed
style: fix editorconfig issues — trim trailing spaces and normalize EOLs
1 parent 946def0 commit 974ff97

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4464,9 +4464,7 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g
44644464
case GGML_OP_COS:
44654465
case GGML_OP_CLAMP:
44664466
case GGML_OP_PAD_REFLECT_1D:
4467-
return ggml_is_contiguous(op->src[0]) &&
4468-
op-> type == GGML_TYPE_F32 &&
4469-
op->src[0]->type == GGML_TYPE_F32;
4467+
return ggml_is_contiguous(op->src[0]) && op-> type == GGML_TYPE_F32 && op->src[0]->type == GGML_TYPE_F32;
44704468
case GGML_OP_LOG:
44714469
#if defined (GGML_SYCL_F16)
44724470
return ((op->type == GGML_TYPE_F32 || op->type == GGML_SYCL_F16) && (op->src[0]->type == GGML_TYPE_F32 || op->src[0]->type == GGML_SYCL_F16) && (op->type == op->src[0]->type));

ggml/src/ggml-sycl/pad_reflect_1d.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ void ggml_sycl_op_pad_reflect_1d(ggml_backend_sycl_context& ctx, ggml_tensor* ds
5656
const int64_t nb3 = src0->nb[3];
5757

5858
int num_blocks = (ne00 + SYCL_CONCAT_BLOCK_SIZE - 1) / SYCL_CONCAT_BLOCK_SIZE;
59-
6059
sycl::range<3> global(num_blocks * SYCL_CONCAT_BLOCK_SIZE, ne01, ne02*ne03);
6160
sycl::range<3> local(SYCL_CONCAT_BLOCK_SIZE, 1, 1);
6261

@@ -70,4 +69,4 @@ void ggml_sycl_op_pad_reflect_1d(ggml_backend_sycl_context& ctx, ggml_tensor* ds
7069
nb00, nb01, nb02, nb03
7170
, item_ct1);
7271
});
73-
}
72+
}

0 commit comments

Comments
 (0)