]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
tests: add BF16 non-contig coverage for MUL_MAT permutations (#22689)
authorPascal <redacted>
Fri, 15 May 2026 17:35:05 +0000 (19:35 +0200)
committerGitHub <redacted>
Fri, 15 May 2026 17:35:05 +0000 (19:35 +0200)
commitcfabeb1bad9d789fefa853ed7e336ec98d981b9b
treedf33d54b93198c73aa6e6bd90401b64ce225dd54
parent6831fe470cdfbeeebcf5645e8d5d9acae3a4ddf0
tests: add BF16 non-contig coverage for MUL_MAT permutations (#22689)

The MUL_MAT test loop iterates over base_types[] to generate non-contig
permutation cases (3 standard permutations across n in {1, 8, 16}).
BF16 is absent from base_types[], so these 9 cases were never generated
for BF16 even though every other type covered by base_types[] tests them.

Add the missing 9 cases explicitly: BF16 x F32, m=16, k=256, bs=[2,3],
permutations {0,2,1,3}, {0,1,3,2}, {0,3,2,1}, with n in {1, 8, 16}.

Suggested-by: @jeffbolznv
tests/test-backend-ops.cpp