forked from CHIP-SPV/chipStar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chipStarConfig.hh.in
72 lines (49 loc) · 2.34 KB
/
chipStarConfig.hh.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
* Copyright (c) 2022 chipStar developers
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#ifndef CHIP_CONFIG_H
#define CHIP_CONFIG_H
#cmakedefine CHIPSTAR_MAJOR_VERSION @CHIPSTAR_MAJOR_VERSION@
#cmakedefine CHIPSTAR_MINOR_VERSION @CHIPSTAR_MINOR_VERSION@
#cmakedefine CHIPSTAR_PATCH_VERSION @CHIPSTAR_PATCH_VERSION@
#cmakedefine CHIPSTAR_VERSION "@CHIPSTAR_VERSION@"
// not implemented yet
#undef OCML_BASIC_ROUNDED_OPERATIONS
#cmakedefine CHIP_SOURCE_DIR "@CHIP_SOURCE_DIR@"
#cmakedefine CHIP_BUILD_DIR "@CHIP_BUILD_DIR@"
#cmakedefine CHIP_INSTALL_DIR "@CHIP_INSTALL_DIR@"
#cmakedefine CHIP_CLANG_PATH "@CHIP_CLANG_PATH@"
#cmakedefine HAS_FILESYSTEM @HAS_FILESYSTEM@
#cmakedefine HAS_EXPERIMENTAL_FILESYSTEM @HAS_EXPERIMENTAL_FILESYSTEM@
#cmakedefine CHIP_DEFAULT_WARP_SIZE @DEFAULT_WARP_SIZE@
// Non-zero integer if the chipStar is built in debug mode.
#cmakedefine CHIP_DEBUG_BUILD @CHIP_DEBUG_BUILD@
#cmakedefine CHIP_USE_INTEL_USM
#cmakedefine CHIP_L0_FIRST_TOUCH
#cmakedefine CHIP_ENABLE_NON_COMPLIANT_DEVICELIB_CODE
#cmakedefine CHIP_FAST_MATH
#cmakedefine CHIP_ERROR_IF_NOT_IMPLEMENTED
#cmakedefine CHIP_DEFAULT_JIT_FLAGS "@CHIP_DEFAULT_JIT_FLAGS@"
#cmakedefine CHIP_MALI_GPU_WORKAROUNDS
#cmakedefine HAVE_OPENCL @HAVE_OPENCL@
#cmakedefine HAVE_LEVEL0 @HAVE_LEVEL0@
#cmakedefine SPDLOG_ACTIVE_LEVEL @SPDLOG_ACTIVE_LEVEL@
#endif