You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- SYCL* Compiler and Runtimes - compiler and runtime libraries for SYCL ([https://www.khronos.org/sycl/](https://www.khronos.org/sycl/)). See **sycl** branch.
7
+
- oneAPI Data Parallel C++ compiler - see **sycl** branch. More information on
Copy file name to clipboardExpand all lines: sycl/doc/EnvironmentVariables.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,32 @@
1
1
# Overview
2
2
3
-
This file describes environment variables that are having effect on SYCL compiler and run-time.
3
+
This file describes environment variables that are having effect on DPC++ compiler and runtime.
4
4
5
-
# Controlling SYCL RT
5
+
# Controlling DPC++ RT
6
6
7
7
**Warning:** the environment variables described in this document are used for
8
-
development and debugging of SYCL runtime and compiler. Their semantics are
8
+
development and debugging of DPC++ compiler and runtime. Their semantics are
9
9
subject to change. Do not rely on these variables in production code.
10
10
11
11
| Environment variable | Values | Description |
12
12
| -------------------- | ------ | ----------- |
13
-
| SYCL_PI_TRACE | Any(*) | Force tracing of PI calls to stderr. |
13
+
| SYCL_PI_TRACE | Any(\*) | Force tracing of PI calls to stderr. |
14
14
| SYCL_BE | PI_OPENCL, PI_OTHER | When SYCL RT is built with PI this controls which plugin to use. Default value is PI_OPENCL. |
15
15
| SYCL_DEVICE_TYPE | One of: CPU, GPU, ACC, HOST | Force SYCL to use the specified device type. If unset, default selection rules are applied. If set to any unlisted value, this control has no effect. If the requested device type is not found, a `cl::sycl::runtime_error` exception is thrown. If a non-default device selector is used, a device must satisfy both the selector and this control to be chosen. This control only has effect on devices created with a selector. |
16
16
| SYCL_PROGRAM_COMPILE_OPTIONS | String of valid OpenCL compile options | Override compile options for all programs. |
17
17
| SYCL_PROGRAM_LINK_OPTIONS | String of valid OpenCL link options | Override link options for all programs. |
18
18
| SYCL_USE_KERNEL_SPV | Path to the SPIR-V binary | Load device image from the specified file. If runtime is unable to read the file, `cl::sycl::runtime_error` exception is thrown.|
19
-
| SYCL_DUMP_IMAGES | Any(*) | Dump device image binaries to file. Control has no effect if SYCL_USE_KERNEL_SPV is set. |
19
+
| SYCL_DUMP_IMAGES | Any(\*) | Dump device image binaries to file. Control has no effect if SYCL_USE_KERNEL_SPV is set. |
20
20
| SYCL_PRINT_EXECUTION_GRAPH | Described [below](#sycl_print_execution_graph-options)| Print execution graph to DOT text file. |
21
-
| SYCL_DISABLE_EXECUTION_GRAPH_CLEANUP | Any(*) | Disable cleanup of finished command nodes at host-device synchronization points. |
22
-
| SYCL_THROW_ON_BLOCK | Any(*) | Throw an exception on attempt to wait for a blocked command. |
21
+
| SYCL_DISABLE_EXECUTION_GRAPH_CLEANUP | Any(\*) | Disable cleanup of finished command nodes at host-device synchronization points. |
22
+
| SYCL_THROW_ON_BLOCK | Any(\*) | Throw an exception on attempt to wait for a blocked command. |
23
23
| SYCL_DEVICELIB_INHIBIT_NATIVE | String of device library extensions (separated by a whitespace) | Do not rely on device native support for devicelib extensions listed in this option. |
24
-
| SYCL_DEVICE_ALLOWLIST | A list of devices and their minimum driver version following the pattern: DeviceName:{{XXX}},DriverVersion:{{X.Y.Z.W}}. Also may contain PlatformName and PlatformVersion | Filter out devices that do not match the pattern specified. Regular expression can be passed and the SYCL RT will select only those devices which satisfy the regex. |
24
+
| SYCL_DEVICE_ALLOWLIST | A list of devices and their minimum driver version following the pattern: DeviceName:{{XXX}},DriverVersion:{{X.Y.Z.W}}. Also may contain PlatformName and PlatformVersion | Filter out devices that do not match the pattern specified. Regular expression can be passed and the DPC++ runtime will select only those devices which satisfy the regex. |
25
25
`(*) Note: Any means this environment variable is effective when set to any non-null value.`
26
26
27
27
## SYCL_PRINT_EXECUTION_GRAPH Options
28
28
29
-
SYCL_PRINT_EXECUTION_GRAPH can accept one or more comma separated values from table below
29
+
SYCL_PRINT_EXECUTION_GRAPH can accept one or more comma separated values from the table below
0 commit comments