mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 23:29:02 +00:00
Migrate commonfns suite to new test registration framework (#2197)
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include "harness/deviceInfo.h"
|
||||
#include "harness/typeWrappers.h"
|
||||
|
||||
#include "procs.h"
|
||||
#include "test_base.h"
|
||||
|
||||
#ifndef M_PI
|
||||
@@ -308,8 +307,7 @@ cl_int ClampTest::Run()
|
||||
return error;
|
||||
}
|
||||
|
||||
int test_clamp(cl_device_id device, cl_context context, cl_command_queue queue,
|
||||
int n_elems)
|
||||
REGISTER_TEST(clamp)
|
||||
{
|
||||
return MakeAndRunTest<ClampTest>(device, context, queue, n_elems);
|
||||
return MakeAndRunTest<ClampTest>(device, context, queue, num_elements);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user