@@ -62,20 +62,20 @@ ninja check-sycl-all
62
62
63
63
These parameters can be used to configure tests:
64
64
65
- *** CMAKE_CXX_COMPILER*** path DPCPP compiler
65
+ *** CMAKE_CXX_COMPILER*** - path to DPCPP compiler
66
66
67
- *** TEST_SUITE_LLVM_SIZE*** path to llvm-size tool, required for code size
67
+ *** TEST_SUITE_LLVM_SIZE*** - path to llvm-size tool, required for code size
68
68
collection
69
69
70
- *** TEST_SUITE_COLLECT_COMPILE_TIME=OFF*** can be used to turn off compile time
71
- collection
70
+ *** TEST_SUITE_COLLECT_COMPILE_TIME=OFF*** - can be used to turn off compile
71
+ time collection
72
72
73
- *** TEST_SUITE_COLLECT_CODE_SIZE=OFF*** can be used to turn off code size
73
+ *** TEST_SUITE_COLLECT_CODE_SIZE=OFF*** - can be used to turn off code size
74
74
collection
75
75
76
- *** TEST_SUITE_LIT*** path to llvm-lit tool
76
+ *** TEST_SUITE_LIT*** - path to llvm-lit tool
77
77
78
- *** CHECK_SYCL_ALL*** defines selection of multiple SYCL backends with set of
78
+ *** CHECK_SYCL_ALL*** - defines selection of multiple SYCL backends with set of
79
79
target devices per each to be tested iteratively. Value is semicolon-separated
80
80
list of configurations. Each configuration includes backend separated
81
81
from comma-separated list of target devices with colon. Example:
@@ -84,36 +84,39 @@ from comma-separated list of target devices with colon. Example:
84
84
-DCHECK_SYCL_ALL="opencl:cpu,host;level_zero:gpu,host;cuda:gpu;hip:gpu"
85
85
```
86
86
87
- *** SYCL_BE*** SYCL backend to be used for testing. Supported values are:
87
+ *** SYCL_BE*** - SYCL backend to be used for testing. Supported values are:
88
88
- ** opencl** - for OpenCL backend;
89
89
- ** cuda** - for CUDA backend;
90
90
- ** hip** - for HIP backend;
91
91
- ** level_zero** - Level Zero backend.
92
92
93
- *** SYCL_TARGET_DEVICES*** comma separated list of target devices for testing.
93
+ *** SYCL_TARGET_DEVICES*** - comma separated list of target devices for testing.
94
94
Default value is cpu,gpu,acc,host. Supported values are:
95
95
- ** cpu** - CPU device available in OpenCL backend only;
96
96
- ** gpu** - GPU device available in OpenCL, Level Zero, CUDA, and HIP backends;
97
97
- ** acc** - FPGA emulator device available in OpenCL backend only;
98
98
- ** host** - SYCL Host device available with all backends.
99
99
100
- *** OpenCL_LIBRARY*** path to OpenCL ICD loader library. OpenCL interoperability
101
- tests require OpenCL ICD loader to be linked with. For such tests OpenCL ICD
102
- loader library should be installed in the system or available at the full path
103
- specified by this variable.
100
+ *** OpenCL_LIBRARY*** - path to OpenCL ICD loader library. OpenCL
101
+ interoperability tests require OpenCL ICD loader to be linked with. For such
102
+ tests OpenCL ICD loader library should be installed in the system or available
103
+ at the full path specified by this variable.
104
104
105
- *** LEVEL_ZERO_INCLUDE*** path to Level Zero headers.
105
+ *** LEVEL_ZERO_INCLUDE*** - path to Level Zero headers.
106
106
107
- *** LEVEL_ZERO_LIBS_DIR*** path to Level Zero libraries.
107
+ *** LEVEL_ZERO_LIBS_DIR*** - path to Level Zero libraries.
108
108
109
- *** HIP_PLATFORM*** platform selection for HIP targeted devices.
109
+ *** HIP_PLATFORM*** - platform selection for HIP targeted devices.
110
110
Defaults to AMD if no value is given. Supported values are:
111
111
- ** AMD** - for HIP to target AMD GPUs
112
112
- ** NVIDIA** - for HIP to target NVIDIA GPUs
113
113
114
- *** AMD_ARCH*** Flag must be set for when using HIP AMD triple.
114
+ *** AMD_ARCH*** - flag must be set for when using HIP AMD triple.
115
115
For example it may be set to "gfx906".
116
116
117
+ *** GPU_AOT_TARGET_OPTS*** - defines additional options which are passed to AOT
118
+ compilation command line for GPU device. If not specified "-device * " value
119
+ is used.
117
120
118
121
# Special test categories
119
122
@@ -154,6 +157,9 @@ configure specific single test execution in the command line:
154
157
host);
155
158
* ** sycl_be** - SYCL backend to be used (opencl, level_zero, cuda, hip);
156
159
* ** dump_ir** - if IR dumping is supported for compiler (True, False);
160
+ * ** gpu_aot_target_opts** - defines additional options which are passed to AOT
161
+ compilation command line for GPU device. It can be also set by CMake variable
162
+ GPU_AOT_TARGET_OPTS. If not specified "-device * " value is used.
157
163
* ** gpu-intel-dg1** - tells LIT infra that Intel GPU DG1 is present in the
158
164
system. It is developer / CI infra responsibility to make sure that the
159
165
device is available in the system. Tests requiring DG1 to run must use proper
0 commit comments