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.
This commit is contained in:
parent
da953699e9
commit
c4b16940e4
1 changed files with 1 additions and 0 deletions
|
|
@ -1609,6 +1609,7 @@ template <typename Ty, typename Fns, size_t TSIZE = 0> 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue