[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:
Kévin Petit
2024-11-26 17:55:09 +00:00
committed by GitHub
parent df5e87bf97
commit 0a1456d8f9
36 changed files with 307 additions and 352 deletions

View File

@@ -84,7 +84,7 @@ int test_branch_conditional(cl_device_id deviceID,
}
#define TEST_BRANCH_CONDITIONAL(name) \
TEST_SPIRV_FUNC(op_##name) \
REGISTER_TEST(op_##name) \
{ \
const int num = 1 << 10; \
RandomSeed seed(gRandomSeed); \