Skip to content

Commit 939bbd9

Browse files
Gitty BursteinGittyBursteinyael-works
committed
style: remove trailing whitespace and fix indentation in test-backend-ops.cpp
Co-authored-by: Gitty Burstein <[email protected]> Co-authored-by: Yael Shuker <[email protected]>
1 parent 49c7e4b commit 939bbd9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

ggml/src/ggml-cpu/ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7920,7 +7920,7 @@ void ggml_compute_forward_argsort(
79207920
// • Numerically stable softmax
79217921
// • Preallocated buffers for performance
79227922
//
7923-
// Author: Yael Shuker (yael-works)
7923+
// Author: Yael Shuker & Gitty Burstein
79247924
//------------------------------------------------------------------------------
79257925

79267926
#include <algorithm>

tests/test-backend-ops.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7208,7 +7208,7 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
72087208
continue;
72097209
}
72107210
for (bool with_bias : {false, true}) {
7211-
if (!with_gate && !with_bias) {
7211+
if (!with_gate && !with_bias) {
72127212
continue;
72137213
}
72147214
for (ggml_glu_op glu_op : {GGML_GLU_OP_SWIGLU, GGML_GLU_OP_GEGLU}) {
@@ -7252,12 +7252,12 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
72527252
static std::vector<std::unique_ptr<test_case>> make_test_cases_perf() {
72537253
std::vector<std::unique_ptr<test_case>> test_cases;
72547254
// Conv2d: K=CRS=NPQ=4096 matmul performance
7255-
uint32_t iwh_idx = 0;
7256-
uint32_t kwh_idx = 1;
7257-
uint32_t Cout_idx = 2;
7258-
uint32_t Cin_idx = 3;
7259-
uint32_t B_idx = 4;
7260-
std::vector<std::array<int, 5>> cases = {
7255+
uint32_t iwh_idx = 0;
7256+
uint32_t kwh_idx = 1;
7257+
uint32_t Cout_idx = 2;
7258+
uint32_t Cin_idx = 3;
7259+
uint32_t B_idx = 4;
7260+
std::vector<std::array<int, 5>> cases = {
72617261
//{IWH, KWH, Cout, Cin, B}
72627262
// K=CRS=NPQ=4096 conv2d matmul performance
72637263
{19, 4, 4096, 256, 16},

0 commit comments

Comments
 (0)