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:
@@ -86,7 +86,7 @@ int test_negation(cl_device_id deviceID,
|
||||
}
|
||||
|
||||
#define TEST_NEGATION(TYPE, Tv, OP, FUNC) \
|
||||
TEST_SPIRV_FUNC(OP##_##TYPE) \
|
||||
REGISTER_TEST(OP##_##TYPE) \
|
||||
{ \
|
||||
int num = 1 << 20; \
|
||||
std::vector<Tv> in(num); \
|
||||
|
||||
Reference in New Issue
Block a user