Skip to content

Commit e81462d

Browse files
committed
remove trailing whitespaces
Signed-off-by: Junhee Yoo <[email protected]>
1 parent 1467a7a commit e81462d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ggml/src/ggml-metal.metal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ kernel void kernel_im2col_ext(
19831983
const int32_t chw = tgpig[0] % CHW;
19841984
const int32_t tgpig_0 = chw / KHW; // 0 ~ (IC - 1)
19851985
const int32_t HW = tgpig[0] % KHW;
1986-
1986+
19871987
const int32_t tpitg_0 = (d * ntg[0]) + tpitg[0];
19881988
if (tpitg_0 >= N) {
19891989
return;

tests/test-backend-ops.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3325,13 +3325,13 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
33253325
test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F16, {12, 12, 2, 2048}, {3, 3, 2, 2048}, 1, 1, 1, 1, 1, 1, true));
33263326
test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F16, {12, 12, 1, 2560}, {3, 3, 1, 2560}, 1, 1, 1, 1, 1, 1, true));
33273327
test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F16, {12, 12, 2, 2560}, {3, 3, 2, 2560}, 1, 1, 1, 1, 1, 1, true));
3328-
3328+
33293329
// sycl backend will limit task global_range < MAX_INT
33303330
// test cases for 2D im2col with large input W and H (occurs in stable-diffusion)
33313331
// however these cases need to alloc more memory which may fail in some devices (Intel Arc770, etc.)
33323332
// these cases are verified (pass) in Intel(R) Data Center GPU Max 1100 (sycl backend) and NV A30 (cuda backend)
3333-
// test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F16, {1024, 1024, 256, 1}, {3, 3, 256, 1}, 1, 1, 1, 1, 1, 1, true));
3334-
// test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F32, {1024, 1024, 256, 1}, {3, 3, 256, 1}, 1, 1, 1, 1, 1, 1, true));
3333+
// test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F16, {1024, 1024, 256, 1}, {3, 3, 256, 1}, 1, 1, 1, 1, 1, 1, true));
3334+
// test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F32, {1024, 1024, 256, 1}, {3, 3, 256, 1}, 1, 1, 1, 1, 1, 1, true));
33353335

33363336
test_cases.emplace_back(new test_conv_transpose_1d());
33373337
test_cases.emplace_back(new test_conv_transpose_1d({3,2,1,1}, {2,3,2,1}, 3, 0, 1));

0 commit comments

Comments
 (0)