Skip to content

Commit d11a729

Browse files
committed
avoid build failure
1 parent 9d035c4 commit d11a729

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

ggml/src/ggml-cpu/ops.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7066,6 +7066,7 @@ static void ggml_compute_forward_im2col_3d_f16(
70667066
const int64_t IW = ne10;
70677067

70687068
const int64_t OC = ne03 / IC;
7069+
GGML_UNUSED(OC);
70697070
const int64_t KD = ne02;
70707071
const int64_t KH = ne01;
70717072
const int64_t KW = ne00;
@@ -7156,6 +7157,7 @@ static void ggml_compute_forward_im2col_3d_f32(
71567157
const int64_t IW = ne10;
71577158

71587159
const int64_t OC = ne03 / IC;
7160+
GGML_UNUSED(OC);
71597161
const int64_t KD = ne02;
71607162
const int64_t KH = ne01;
71617163
const int64_t KW = ne00;

ggml/src/ggml.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4387,6 +4387,7 @@ struct ggml_tensor * ggml_im2col_3d(
43874387
const int64_t IW = b->ne[0];
43884388

43894389
const int64_t OC = a->ne[3] / IC;
4390+
UNUSED(OC);
43904391
const int64_t KD = a->ne[2];
43914392
const int64_t KH = a->ne[1];
43924393
const int64_t KW = a->ne[0];

tests/test-backend-ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4196,7 +4196,7 @@ struct test_conv_3d : public test_case {
41964196
return (uint64_t)N * OC * OD * OH * OW * (2 * IC * KD * KH * KW - 1);
41974197
}
41984198

4199-
test_conv_3d_direct(
4199+
test_conv_3d(
42004200
int64_t N, int64_t IC, int64_t ID, int64_t IH, int64_t IW,
42014201
int64_t OC, int64_t KD, int64_t KH, int64_t KW,
42024202
int s0, int s1, int s2,

0 commit comments

Comments
 (0)