Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 9caa74b

Browse files
[SYCL] Remove mentions of host device from README (#1345)
This commit removes the mentions of the host device from the SYCL/README.md and SYCL/ExtraTests/README.md documents Signed-off-by: Larsen, Steffen <[email protected]>
1 parent d6bbaed commit 9caa74b

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

SYCL/ExtraTests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tests.
2222
cmake -G Ninja \
2323
-DTEST_SUITE_SUBDIRS=SYCL \
2424
-DTEST_SUITE_LIT=<path/to/llvm-lit> \
25-
-DCHECK_SYCL_ALL="opencl:cpu,acc,gpu,host;level_zero:gpu,host" \
25+
-DCHECK_SYCL_ALL="opencl:cpu,acc,gpu;level_zero:gpu" \
2626
-DCMAKE_CXX_COMPILER=<path/to/clang++> \
2727
-DSYCL_EXTRA_TESTS_SRC=<path/to/more/lit/tests/sources>
2828
..

SYCL/README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on testing scope.
1919
or taken prebuilt from [releases](https://github.com/intel/llvm/releases).
2020
- LIT tools (llvm-lit, llvm-size). They are not available at prebuilts above,
2121
but can be built in compiler project (e.g. with "ninja check").
22-
- Target runtime(s) to execute tests on devices other than host. See
22+
- Target runtime(s) to execute tests on devices. See
2323
[installation instructions](https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md#install-low-level-runtime)
2424

2525
# Build and run tests
@@ -40,7 +40,7 @@ With compiler tools available in the PATH:
4040
cmake \
4141
-DCMAKE_CXX_COMPILER=clang++ \
4242
-DTEST_SUITE_SUBDIRS=SYCL \
43-
-DCHECK_SYCL_ALL="opencl:host" \
43+
-DCHECK_SYCL_ALL="opencl:cpu" \
4444
..
4545
4646
# Build and Run
@@ -56,7 +56,7 @@ cmake \
5656
-DCMAKE_CXX_COMPILER=clang++ \
5757
-DTEST_SUITE_SUBDIRS=SYCL \
5858
-DSYCL_BE="opencl" \
59-
-DSYCL_TARGET_DEVICES="host" \
59+
-DSYCL_TARGET_DEVICES="cpu" \
6060
..
6161
6262
# Build and Run
@@ -96,7 +96,7 @@ list of configurations. Each configuration includes backend separated
9696
from comma-separated list of target devices with colon. Example:
9797

9898
```
99-
-DCHECK_SYCL_ALL="opencl:cpu,host;ext_oneapi_level_zero:gpu,host;ext_oneapi_cuda:gpu;ext_oneapi_hip:gpu;ext_intel_esimd_emulator:gpu"
99+
-DCHECK_SYCL_ALL="opencl:cpu;ext_oneapi_level_zero:gpu;ext_oneapi_cuda:gpu;ext_oneapi_hip:gpu;ext_intel_esimd_emulator:gpu"
100100
```
101101

102102
***SYCL_BE*** - SYCL backend to be used for testing. Supported values are:
@@ -108,11 +108,10 @@ from comma-separated list of target devices with colon. Example:
108108

109109

110110
***SYCL_TARGET_DEVICES*** - comma separated list of target devices for testing.
111-
Default value is cpu,gpu,acc,host. Supported values are:
111+
Default value is cpu,gpu,acc. Supported values are:
112112
- **cpu** - CPU device available in OpenCL backend only;
113113
- **gpu** - GPU device available in OpenCL, Level Zero, CUDA, and HIP backends;
114114
- **acc** - FPGA emulator device available in OpenCL backend only;
115-
- **host** - SYCL Host device available with all backends.
116115

117116
***OpenCL_LIBRARY*** - path to OpenCL ICD loader library. OpenCL
118117
interoperability tests require OpenCL ICD loader to be linked with. For such
@@ -157,7 +156,7 @@ If UNSUPPORTED:sycl-ls specified, test will run only if sycl-ls tool is
157156
unavailable.
158157

159158
* **windows**, **linux** - host OS;
160-
* **cpu**, **gpu**, **host**, **accelerator** - target device;
159+
* **cpu**, **gpu**, **accelerator** - target device;
161160
* **cuda**, **hip**, **opencl**, **level_zero**, **esimd_emulator** - target
162161
backend;
163162
* **sycl-ls** - sycl-ls tool availability;
@@ -182,8 +181,7 @@ Following options can be passed to llvm-lit tool through --param option to
182181
configure specific single test execution in the command line:
183182

184183
* **dpcpp_compiler** - full path to dpcpp compiler;
185-
* **target_device** - comma-separated list of target devices (cpu, gpu, acc,
186-
host);
184+
* **target_device** - comma-separated list of target devices (cpu, gpu, acc);
187185
* **sycl_be** - SYCL backend to be used (opencl, ext_oneapi_level_zero,
188186
ext_oneapi_cuda, ext_oneapi_hip, ext_oneapi_intel_emulator);
189187
* **dump_ir** - if IR dumping is supported for compiler (True, False);
@@ -220,7 +218,7 @@ configure specific single test execution in the command line:
220218
Example:
221219

222220
```
223-
llvm-lit --param target_devices=host,gpu --param sycl_be=ext_oneapi_level_zero \
221+
llvm-lit --param target_devices=gpu --param sycl_be=ext_oneapi_level_zero \
224222
--param dpcpp_compiler=path/to/clang++ --param dump_ir=True \
225223
SYCL/External/RSBench
226224
```

0 commit comments

Comments
 (0)