Skip to content

Commit 8f69861

Browse files
committed
project: sync with upstream
1 parent 3c72168 commit 8f69861

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

prebuilts/ggml-dsp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ ggml-hexagon backend consists of two parts:
2323

2424
### ChangeLog
2525

26-
- 20250531: ggml-hexagon.cpp v1.08 + ggml-dsp v0.96(libggmlop-skel.so, would be removed in the future)
27-
- 20250607: ggml-hexagon.cpp v1.10 + ggml-dsp v0.96(libggmldsp-skel.so)
28-
- 20250609: ggml-hexagon.cpp v1.10 + ggml-dsp v0.97(libggmldsp-skel.so)
26+
- 20250531: ggml-hexagon.cpp v1.08 + ggml-dsp v0.96
27+
- 20250609: ggml-hexagon.cpp v1.10 + ggml-dsp v0.97
28+
- 20250625: ggml-hexagon.cpp v1.13 + ggml-dsp v0.98

scripts/build-run-android.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ function show_usage()
654654
echo " $0 run_benchmark MUL_MAT 3(cdsp) mulmat_algotype(0,1,2,3,4,5,6,32,33) (verify performance of mulmat on cDSP)"
655655
#verify accuracy of mulmat on cDSP
656656
echo " $0 run_testop MUL_MAT mulmat_algotype(0,1,2,3,4,5,6,32,33) (verify accuracy of mulmat on cDSP)"
657+
#verify accuracy of add on cDSP
658+
echo " $0 run_testop ADD (verify accuracy of add on cDSP)"
657659

658660
echo -e "\n\n\n"
659661
}

tests/test-backend-ops.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4601,6 +4601,13 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
46014601
#endif
46024602

46034603
#ifdef GGML_USE_HEXAGON
4604+
//verify computation result of add on cDSP
4605+
//make whipser.cpp happy
4606+
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {384, 1, 1, 1}, {1, 1, 1, 1}));
4607+
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {1536, 1, 1, 1}, {1, 1, 1, 1}));
4608+
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
4610+
test_cases.emplace_back(new test_bin_bcast(ggml_add, GGML_TYPE_F32, {4096, 4096, 1, 1}, {1, 1, 1, 1}));
46044611
//verify computation result of mulmat on cDSP
46054612
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 32, 14, 64, { 1, 1}, {1, 1}));
46064613
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F32, GGML_TYPE_F32, 256, 128, 256, { 1, 1}, {1, 1}));

0 commit comments

Comments
 (0)