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:
Ahmed Hesham
2025-03-09 09:42:10 +00:00
committed by GitHub
parent 521d067083
commit 5b47d4b19f
8 changed files with 296 additions and 375 deletions

View File

@@ -20,8 +20,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "procs.h"
#include "harness/errorHelpers.h"
#include "harness/testHarness.h"
#include "harness/typeWrappers.h"
const char* pipe_readwrite_errors_kernel_code = {
"__kernel void test_pipe_write_error(__global int *src, __write_only pipe int out_pipe, __global int *status)\n"
@@ -62,7 +63,7 @@ const char* pipe_readwrite_errors_kernel_code = {
};
int test_pipe_readwrite_errors(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements)
REGISTER_TEST(pipe_readwrite_errors)
{
clMemWrapper pipe;
clMemWrapper buffers[3];