mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 22:39:03 +00:00
Remove unnecessary APPLE specific code (#1188)
To reduce differences between tests, remove APPLE specific code from unary tests as no other test have similar logic. Ensure gMeasureTimes is consistently initialised regardless of operating systems to ensure a consistent command line interface. The remaining APPLE specific pieces of code relate either to include paths, or to the implementation of PreventSleep(), ResumeSleep() and GetTime(). Those are not removed in this commit. Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
@@ -20,10 +20,6 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count,
|
||||
cl_kernel *k, cl_program *p, bool relaxedMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user