avoid build failure

This commit is contained in:
leejet
2025-08-30 03:48:47 +08:00
parent 9d035c4c4a
commit d11a729898
3 changed files with 4 additions and 1 deletions

View File

@@ -7066,6 +7066,7 @@ static void ggml_compute_forward_im2col_3d_f16(
const int64_t IW = ne10;
const int64_t OC = ne03 / IC;
GGML_UNUSED(OC);
const int64_t KD = ne02;
const int64_t KH = ne01;
const int64_t KW = ne00;
@@ -7156,6 +7157,7 @@ static void ggml_compute_forward_im2col_3d_f32(
const int64_t IW = ne10;
const int64_t OC = ne03 / IC;
GGML_UNUSED(OC);
const int64_t KD = ne02;
const int64_t KH = ne01;
const int64_t KW = ne00;

View File

@@ -4387,6 +4387,7 @@ struct ggml_tensor * ggml_im2col_3d(
const int64_t IW = b->ne[0];
const int64_t OC = a->ne[3] / IC;
UNUSED(OC);
const int64_t KD = a->ne[2];
const int64_t KH = a->ne[1];
const int64_t KW = a->ne[0];

View File

@@ -4196,7 +4196,7 @@ struct test_conv_3d : public test_case {
return (uint64_t)N * OC * OD * OH * OW * (2 * IC * KD * KH * KW - 1);
}
test_conv_3d_direct(
test_conv_3d(
int64_t N, int64_t IC, int64_t ID, int64_t IH, int64_t IW,
int64_t OC, int64_t KD, int64_t KH, int64_t KW,
int s0, int s1, int s2,