Skip to content

Commit c00c967

Browse files
am17anMinh141120
authored andcommitted
CUDA: add mean operation (ggml-org#14313)
* CUDA: add mean operation * add back sum_rows_f32_cuda * Review: early exit if col!=0
1 parent b6a1896 commit c00c967

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test-backend-ops.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4967,6 +4967,8 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_perf() {
49674967

49684968
test_cases.emplace_back(new test_conv_transpose_2d({256, 256, 256, 1}, {3, 3, 16, 256}, 1));
49694969

4970+
test_cases.emplace_back(new test_mean(GGML_TYPE_F32, {256, 256, 3, 1}));
4971+
49704972
return test_cases;
49714973
}
49724974

0 commit comments

Comments
 (0)