mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Migrate pipes suite to the new test registration framework (#2302)
Contributes to #2181 Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "procs.h"
|
||||
#include "harness/testHarness.h"
|
||||
#include "harness/errorHelpers.h"
|
||||
#include "harness/typeWrappers.h"
|
||||
|
||||
#define TEST_PRIME_INT ((1<<16)+1)
|
||||
|
||||
@@ -77,7 +78,7 @@ static int verify_result(void *ptr1, void *ptr2, int n)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int test_pipe_query_functions(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements)
|
||||
REGISTER_TEST(pipe_query_functions)
|
||||
{
|
||||
clMemWrapper pipe;
|
||||
clMemWrapper buffers[4];
|
||||
@@ -252,4 +253,3 @@ int test_pipe_query_functions(cl_device_id deviceID, cl_context context, cl_comm
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user