mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[RFC] Move logic for test registration to the test harness (#2151)
And use in device_timer suite. Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -164,9 +164,10 @@ int test_barrier_functions(cl_device_id device, cl_context context,
|
||||
constexpr size_t local_work_size = 200;
|
||||
WorkGroupParams test_params(global_work_size, local_work_size);
|
||||
test_params.use_core_subgroups = useCoreSubgroups;
|
||||
error = test<cl_int, BAR<0>>::run(device, context, queue, num_elements,
|
||||
"test_lbar", lbar_source, test_params);
|
||||
error |= test<cl_int, BAR<1>, global_work_size>::run(
|
||||
error = subgroup_test<cl_int, BAR<0>>::run(device, context, queue,
|
||||
num_elements, "test_lbar",
|
||||
lbar_source, test_params);
|
||||
error |= subgroup_test<cl_int, BAR<1>, global_work_size>::run(
|
||||
device, context, queue, num_elements, "test_gbar", gbar_source,
|
||||
test_params);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user