vulkan: Add missing bounds checking to scalar/coopmat1 mul_mat_id (#15334)

This commit is contained in:
Jeff Bolz
2025-08-16 03:58:38 -05:00
committed by GitHub
parent 912ff8c119
commit 2e2b22ba66
2 changed files with 9 additions and 3 deletions

View File

@@ -5824,6 +5824,8 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
test_cases.emplace_back(new test_mul_mat_id(GGML_TYPE_F16, GGML_TYPE_F32, 16, 16, b, 32, 1024, 16));
}
test_cases.emplace_back(new test_mul_mat_id(GGML_TYPE_F16, GGML_TYPE_F32, 1, 1, false, 8, 16, 1));
for (ggml_type type_a : base_types) {
for (ggml_type type_b : {GGML_TYPE_F32 /*, GGML_TYPE_F16 */}) {
for (int n_mats : {4, 8}) {