Skip to content

Commit 26f96be

Browse files
committed
project: sync with upstream
1 parent 8f69861 commit 26f96be

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/test-backend-ops.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4602,22 +4602,26 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
46024602

46034603
#ifdef GGML_USE_HEXAGON
46044604
//verify computation result of add on cDSP
4605-
//make whipser.cpp happy
46064605
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {384, 1, 1, 1}, {1, 1, 1, 1}));
46074606
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {1536, 1, 1, 1}, {1, 1, 1, 1}));
4607+
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {1024, 1024, 1, 1}, {1, 1, 1, 1}));
4608+
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {2048, 2048, 1, 1}, {1, 1, 1, 1}));
46084609
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {2048, 1, 1, 1}, {1, 1, 1, 1}));
4609-
//verify computation result of fp32 4096x4096 add on cDSP
46104610
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {4096, 4096, 1, 1}, {1, 1, 1, 1}));
46114611
//verify computation result of mulmat on cDSP
46124612
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 32, 14, 64, { 1, 1}, {1, 1}));
46134613
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 256, 128, 256, { 1, 1}, {1, 1}));
46144614
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 600, 300, 600, { 1, 1}, {1, 1}));
46154615
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 900, 450, 900, { 1, 1}, {1, 1}));
4616+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 512, 512, 1024, { 1, 1}, {1, 1}));
46164617
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 1024, 512, 1024, { 1, 1}, {1, 1}));
4618+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 1024, 1024, 1024, { 1, 1}, {1, 1}));
46174619
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 2048, 1024, 2048, { 1, 1}, {1, 1}));
4620+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 2048, 2048, 2048, { 1, 1}, {1, 1}));
46184621
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 4096, 38, 4096, { 1, 1}, {1, 1}));
4619-
//test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 4096, 2048, 4096, { 1, 1}, {1, 1}));
4620-
//test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 4096, 4096, 4096, { 1, 1}, {1, 1}));
4622+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 4096, 1024, 4096, { 1, 1}, {1, 1}));
4623+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 4096, 2048, 4096, { 1, 1}, {1, 1}));
4624+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 4096, 4096, 4096, { 1, 1}, {1, 1}));
46214625
#endif
46224626

46234627
return test_cases;

0 commit comments

Comments
 (0)