mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 16:29:03 +00:00
Get rid of threadTesting.h (#1604)
It only contains a pointer type definition for test functions that really ought to be provided by testHarness.h. Signed-off-by: Kévin Petit <kpet@free.fr> Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#ifndef _testHarness_h
|
||||
#define _testHarness_h
|
||||
|
||||
#include "threadTesting.h"
|
||||
#include "clImageHelper.h"
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
@@ -67,9 +66,12 @@ Version get_device_cl_version(cl_device_id device);
|
||||
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
typedef int (*test_function_pointer)(cl_device_id deviceID, cl_context context,
|
||||
cl_command_queue queue, int num_elements);
|
||||
|
||||
typedef struct test_definition
|
||||
{
|
||||
basefn func;
|
||||
test_function_pointer func;
|
||||
const char *name;
|
||||
Version min_version;
|
||||
} test_definition;
|
||||
|
||||
Reference in New Issue
Block a user