mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
remove min max macros (#1310)
* remove the MIN and MAX macros and use the std versions instead * fix formatting * fix Arm build * remove additional MIN and MAX macros from compat.h
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "harness/testHarness.h"
|
||||
#include "harness/typeWrappers.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include "procs.h"
|
||||
@@ -645,7 +646,7 @@ int test_enqueue_ndrange(cl_device_id device, cl_context context, cl_command_que
|
||||
max_local_size = (max_local_size > MAX_GWS)? MAX_GWS: max_local_size;
|
||||
if(gWimpyMode)
|
||||
{
|
||||
max_local_size = MIN(8, max_local_size);
|
||||
max_local_size = std::min((size_t)8, max_local_size);
|
||||
}
|
||||
|
||||
cl_uint num = 10;
|
||||
|
||||
Reference in New Issue
Block a user