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

@@ -16,14 +16,15 @@
#include <cinttypes>
#include "procs.h"
#include "harness/testHarness.h"
#include "harness/typeWrappers.h"
#include "harness/parseParameters.h"
const char* pipe_kernel_code = {
"__kernel void pipe_kernel(__write_only pipe int out_pipe)\n"
"{}\n" };
int test_pipe_info( cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements )
REGISTER_TEST(pipe_info)
{
clMemWrapper pipe;
cl_int err;