@@ -16,8 +16,9 @@ on testing scope.
16
16
17
17
- DPC++ compiler. Can be built following these
18
18
[ instructions] ( https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md#build-dpc-toolchain )
19
- - LIT tools (llvm-lit, llvm-size). They can be available as part of compiler
20
- build or built separately (e.g. with "ninja check").
19
+ or taken prebuilt from [ releases] ( https://github.com/intel/llvm/releases ) .
20
+ - LIT tools (llvm-lit, llvm-size). They are not available at prebuilts above,
21
+ but can be built in compiler project (e.g. with "ninja check").
21
22
- Target runtime(s) to execute tests on devices other than host. See
22
23
[ installation instructions] ( https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md#install-low-level-runtime )
23
24
@@ -39,7 +40,7 @@ With compiler tools available in the PATH:
39
40
cmake \
40
41
-DCMAKE_CXX_COMPILER=clang++ \
41
42
-DTEST_SUITE_SUBDIRS=SYCL \
42
- -DSYCL_TARGET_DEVICES=" host" \
43
+ -DCHECK_SYCL_ALL="opencl: host" \
43
44
..
44
45
45
46
# Build and Run
@@ -74,6 +75,15 @@ collection
74
75
75
76
*** TEST_SUITE_LIT*** path to llvm-lit tool
76
77
78
+ *** CHECK_SYCL_ALL*** defines selection of multiple SYCL backends with set of
79
+ target devices per each to be tested iteratively. Value is semicolon-separated
80
+ list of configurations. Each configuration includes backend separated
81
+ from comma-separated list of target devices with colon. Example:
82
+
83
+ ```
84
+ -DCHECK_SYCL_ALL="opencl:cpu,host;level_zero:gpu,host;cuda:gpu"
85
+ ```
86
+
77
87
*** SYCL_BE*** SYCL backend to be used for testing. Supported values are:
78
88
- ** opencl** - for OpenCL backend;
79
89
- ** cuda** - for CUDA backend;
@@ -86,15 +96,6 @@ Default value is cpu,gpu,acc,host. Supported values are:
86
96
- ** acc** - FPGA emulator device available in OpenCL backend only;
87
97
- ** host** - SYCL Host device available with all backends.
88
98
89
- *** CHECK_SYCL_ALL*** defines selection of multiple SYCL backends with set of
90
- target devices per each to be tested iteratively. Value is semicolon-separated
91
- list of configurations. Each configuration includes backend separated
92
- from comma-separated list of target devices with colon. Example:
93
-
94
- ```
95
- -DCHECK_SYCL_ALL="opencl:cpu,host;level_zero:gpu,host;cuda:gpu"
96
- ```
97
-
98
99
*** OpenCL_LIBRARY*** path to OpenCL ICD loader library. OpenCL interoperability
99
100
tests require OpenCL ICD loader to be linked with. For such tests OpenCL ICD
100
101
loader library should be installed in the system or available at the full path
0 commit comments