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:
@@ -83,7 +83,7 @@ int test_phi(cl_device_id deviceID,
|
||||
return 0;
|
||||
}
|
||||
|
||||
TEST_SPIRV_FUNC(op_phi_2_blocks)
|
||||
REGISTER_TEST(op_phi_2_blocks)
|
||||
{
|
||||
const int num = 1 << 10;
|
||||
RandomSeed seed(gRandomSeed);
|
||||
@@ -101,7 +101,7 @@ TEST_SPIRV_FUNC(op_phi_2_blocks)
|
||||
return test_phi(deviceID, context, queue, "phi_2", lhs, rhs, out);
|
||||
}
|
||||
|
||||
TEST_SPIRV_FUNC(op_phi_3_blocks)
|
||||
REGISTER_TEST(op_phi_3_blocks)
|
||||
{
|
||||
const int num = 1 << 10;
|
||||
RandomSeed seed(gRandomSeed);
|
||||
@@ -123,7 +123,7 @@ TEST_SPIRV_FUNC(op_phi_3_blocks)
|
||||
return test_phi(deviceID, context, queue, "phi_3", lhs, rhs, out);
|
||||
}
|
||||
|
||||
TEST_SPIRV_FUNC(op_phi_4_blocks)
|
||||
REGISTER_TEST(op_phi_4_blocks)
|
||||
{
|
||||
const int num = 1 << 10;
|
||||
RandomSeed seed(gRandomSeed);
|
||||
|
||||
Reference in New Issue
Block a user