Skip to content

Commit 21108b8

Browse files
committed
assert include removed, 2 further unused macro replaced
1 parent 2dc1a6a commit 21108b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test-backend-ops.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include <ggml-backend.h>
2121
#include <ggml-cpp.h>
2222

23-
#include <assert.h>
2423
#include <algorithm>
2524
#include <array>
2625
#include <cfloat>
@@ -4042,7 +4041,7 @@ struct test_conv_2d_im2col : public test_case {
40424041
// IM2COL -> MUL_MM graph will be built.
40434042

40444043
virtual std::string op_desc(ggml_tensor * t) override {
4045-
(void) t;
4044+
GGML_UNUSED(t);
40464045
return std::string("CONV_2D_IM2COL");
40474046
}
40484047

@@ -4220,7 +4219,7 @@ struct test_conv_2d_compare : public test_case_compare {
42204219
std::string output_name_2 = "out";
42214220

42224221
virtual std::string op_desc(ggml_tensor * t) override {
4223-
(void) t;
4222+
GGML_UNUSED(t);
42244223
return std::string("CONV_2D_COMPARE");
42254224
}
42264225

0 commit comments

Comments
 (0)