Skip to content

Commit 2db49fa

Browse files
author
Italo Nicola
committed
Vulkan: Add perf tests for OUT_PROD Q4_0
1 parent 417679c commit 2db49fa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test-backend-ops.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6688,6 +6688,17 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_perf() {
66886688
test_cases.emplace_back(new test_argmax(GGML_TYPE_F32, {1024, 10, 1, 1}));
66896689
test_cases.emplace_back(new test_argmax(GGML_TYPE_F32, {32000, 512, 1, 1}));
66906690

6691+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 16416, 1, 128, {8, 1}, {4, 1}));
6692+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 128, 1, 16416, {8, 1}, {4, 1}, true));
6693+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 16416, 2, 128, {8, 1}, {4, 1}));
6694+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 128, 2, 16416, {8, 1}, {4, 1}, true));
6695+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 16416, 4, 128, {8, 1}, {4, 1}));
6696+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 128, 4, 16416, {8, 1}, {4, 1}));
6697+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 128, 4, 16416, {8, 1}, {4, 1}, true));
6698+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 16416, 8, 128, {8, 1}, {4, 1}));
6699+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 128, 8, 16416, {8, 1}, {4, 1}));
6700+
test_cases.emplace_back(new test_out_prod(GGML_TYPE_Q4_0, GGML_TYPE_F32, 128, 8, 16416, {8, 1}, {4, 1}, true));
6701+
66916702
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F16, GGML_TYPE_F32, 16416, 1, 128, {8, 1}, {4, 1}, {0, 2, 1, 3}));
66926703
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F16, GGML_TYPE_F32, 128, 1, 16416, {8, 1}, {4, 1}, {0, 1, 2, 3}, true));
66936704

0 commit comments

Comments
 (0)