mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Migrate basic suite to the new test registration framework (#2316)
Contributes to #2181. Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
This commit is contained in:
@@ -50,8 +50,6 @@
|
||||
#include "harness/errorHelpers.h"
|
||||
#include "harness/featureHelpers.h"
|
||||
#include "harness/mt19937.h"
|
||||
#include "procs.h"
|
||||
|
||||
|
||||
////////////////////
|
||||
// Device capabilities
|
||||
@@ -2006,8 +2004,7 @@ static cl_int should_skip(cl_device_id device, cl_bool& skip)
|
||||
|
||||
|
||||
// Test support for variables at program scope. Miscellaneous
|
||||
int test_progvar_prog_scope_misc(cl_device_id device, cl_context context,
|
||||
cl_command_queue queue, int num_elements)
|
||||
REGISTER_TEST_VERSION(progvar_prog_scope_misc, Version(2, 0))
|
||||
{
|
||||
cl_bool skip{ CL_FALSE };
|
||||
auto error = should_skip(device, skip);
|
||||
@@ -2038,8 +2035,7 @@ int test_progvar_prog_scope_misc(cl_device_id device, cl_context context,
|
||||
|
||||
|
||||
// Test support for variables at program scope. Unitialized data
|
||||
int test_progvar_prog_scope_uninit(cl_device_id device, cl_context context,
|
||||
cl_command_queue queue, int num_elements)
|
||||
REGISTER_TEST_VERSION(progvar_prog_scope_uninit, Version(2, 0))
|
||||
{
|
||||
cl_bool skip{ CL_FALSE };
|
||||
auto error = should_skip(device, skip);
|
||||
@@ -2068,8 +2064,7 @@ int test_progvar_prog_scope_uninit(cl_device_id device, cl_context context,
|
||||
}
|
||||
|
||||
// Test support for variables at program scope. Initialized data.
|
||||
int test_progvar_prog_scope_init(cl_device_id device, cl_context context,
|
||||
cl_command_queue queue, int num_elements)
|
||||
REGISTER_TEST_VERSION(progvar_prog_scope_init, Version(2, 0))
|
||||
{
|
||||
cl_bool skip{ CL_FALSE };
|
||||
auto error = should_skip(device, skip);
|
||||
@@ -2098,8 +2093,7 @@ int test_progvar_prog_scope_init(cl_device_id device, cl_context context,
|
||||
|
||||
|
||||
// A simple test for support of static variables inside a kernel.
|
||||
int test_progvar_func_scope(cl_device_id device, cl_context context,
|
||||
cl_command_queue queue, int num_elements)
|
||||
REGISTER_TEST_VERSION(progvar_func_scope, Version(2, 0))
|
||||
{
|
||||
cl_bool skip{ CL_FALSE };
|
||||
auto error = should_skip(device, skip);
|
||||
|
||||
Reference in New Issue
Block a user