xref: /aosp_15_r20/external/OpenCL-CTS/test_conformance/spirv_new/testBase.h (revision 6467f958c7de8070b317fc65bcb0f6472e388d82)
1 /******************************************************************
2 Copyright (c) 2016 The Khronos Group Inc. All Rights Reserved.
3 
4 This code is protected by copyright laws and contains material proprietary to the Khronos Group, Inc.
5 This is UNPUBLISHED PROPRIETARY SOURCE CODE that may not be disclosed in whole or in part to
6 third parties, and may not be reproduced, republished, distributed, transmitted, displayed,
7 broadcast or otherwise exploited in any manner without the express prior written permission
8 of Khronos Group. The receipt or possession of this code does not convey any rights to reproduce,
9 disclose, or distribute its contents, or to manufacture, use, or sell anything that it may describe,
10 in whole or in part other than under the terms of the Khronos Adopters Agreement
11 or Khronos Conformance Test Source License Agreement as executed between Khronos and the recipient.
12 ******************************************************************/
13 #pragma once
14 
15 #ifndef _testBase_h
16 #define _testBase_h
17 
18 #include "harness/compat.h"
19 #include "harness/rounding_mode.h"
20 
21 #include <stdio.h>
22 #include <string.h>
23 #include <sys/types.h>
24 #include <sys/stat.h>
25 
26 #include "procs.h"
27 
28 // Ensure max min macros are undefined - compilation issues when using min max from numeric_limits template class
29 #if defined( max )
30     #undef max
31 #endif
32 
33 #if defined( min )
34     #undef min
35 #endif
36 
37 #endif // _testBase_h
38