Skip to content

Commit

Permalink
test oom
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Jun 10, 2024
1 parent 54e7de3 commit 4b0148c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_convolution_oom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ static int test_convolution_oom_int8(int w, int h, int c, int outch, int kernel,
}

int flag = TEST_LAYER_DISABLE_GPU_TESTING;
int ret = test_layer("Convolution", pd, weights, a, requant ? 1.0f : 0.001f, 0, flag);
int ret = test_layer_oom("Convolution", pd, weights, a, flag);
if (ret != 0)
{
fprintf(stderr, "test_convolution_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n", w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0], activation_params[1]);
fprintf(stderr, "test_convolution_oom_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n", w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0], activation_params[1]);
return ret;
}

Expand Down

0 comments on commit 4b0148c

Please sign in to comment.