From c4b16940e4c541da70210eb575e0ec4afb8b9a0f Mon Sep 17 00:00:00 2001 From: Neoming <33822653+neoming@users.noreply.github.com> Date: Tue, 8 Jul 2025 07:34:05 +0800 Subject: [PATCH] test_subgroups: Update local workgroup size to generate desired input and verify result (#2382) The `local_workgroup_size` is changed by `get_max_common_work_group_size`. But the input data still use the original `local_workgroup_size`, which will cause the check logic to failed. --- test_conformance/subgroups/subhelpers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test_conformance/subgroups/subhelpers.h b/test_conformance/subgroups/subhelpers.h index ab8ee797..f234eef4 100644 --- a/test_conformance/subgroups/subhelpers.h +++ b/test_conformance/subgroups/subhelpers.h @@ -1609,6 +1609,7 @@ template struct subgroup_test // Generate the desired input for the kernel test_params.subgroup_size = subgroup_size; + test_params.local_workgroup_size = local; Fns::gen(idata.data(), mapin.data(), sgmap.data(), test_params); test_status status = TEST_FAIL;