Migrate geometrics suite to the new test registration framework (#2335)

Contributes to https://github.com/KhronosGroup/OpenCL-CTS/issues/2181.

Signed-off-by: Michael Rizkalla <michael.rizkalla@arm.com>
This commit is contained in:
Michael Rizkalla
2025-03-18 17:13:35 +00:00
committed by GitHub
parent 7cd13e1e93
commit ac38405a62
4 changed files with 46 additions and 73 deletions

View File

@@ -16,14 +16,30 @@
#ifndef _testBase_h
#define _testBase_h
#include <CL/cl.h>
#include "harness/compat.h"
#include "harness/mt19937.h"
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "procs.h"
extern int test_geom_cross_double(cl_device_id deviceID, cl_context context,
cl_command_queue queue, int num_elements,
MTdata d);
extern int test_geom_dot_double(cl_device_id deviceID, cl_context context,
cl_command_queue queue, int num_elements,
MTdata d);
extern int test_geom_distance_double(cl_device_id deviceID, cl_context context,
cl_command_queue queue, int num_elements,
MTdata d);
extern int test_geom_length_double(cl_device_id deviceID, cl_context context,
cl_command_queue queue, int num_elements,
MTdata d);
extern int test_geom_normalize_double(cl_device_id deviceID, cl_context context,
cl_command_queue queue, int num_elements,
MTdata d);
#endif // _testBase_h