mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 23:49:02 +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:
@@ -87,14 +87,14 @@ int test_atomic(cl_device_id deviceID, cl_context context,
|
||||
return 0;
|
||||
}
|
||||
|
||||
TEST_SPIRV_FUNC(op_atomic_inc_global)
|
||||
REGISTER_TEST(op_atomic_inc_global)
|
||||
{
|
||||
int num = 1 << 16;
|
||||
return test_atomic<cl_int>(deviceID, context, queue,
|
||||
"atomic_inc_global", num, true);
|
||||
}
|
||||
|
||||
TEST_SPIRV_FUNC(op_atomic_dec_global)
|
||||
REGISTER_TEST(op_atomic_dec_global)
|
||||
{
|
||||
int num = 1 << 16;
|
||||
return test_atomic<cl_int>(deviceID, context, queue,
|
||||
|
||||
Reference in New Issue
Block a user