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][NFC] Remove more explicit "cl::" references (#6507)
Previous patch was implemented by splitting off piece of a bigger patch by
completely eliminating "cl" namespace and then addressing the local failures.
Local testing didn't cover all possible platforms so these occurrences were left
untouched.
This is a wider application of grep/sed, but it's still not complete as some
instances of "cl" namespace references cannot be eliminated in an NFC
change (e.g. everything affecting/affected by mangling as in clang or some
tools). The reason I'm committing these changes separately is to ease the review
of the actual non-NFC PR later.
Copy file name to clipboardExpand all lines: sycl/doc/EnvironmentVariables.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ compiler and runtime.
8
8
| Environment variable | Values | Description |
9
9
| -------------------- | ------ | ----------- |
10
10
|`SYCL_BE` (deprecated) |`PI_OPENCL`, `PI_LEVEL_ZERO`, `PI_CUDA`| Force SYCL RT to consider only devices of the specified backend during the device selection. We are planning to deprecate `SYCL_BE` environment variable in the future. The specific grace period is not decided yet. Please use the new env var `SYCL_DEVICE_FILTER` instead. |
11
-
|`SYCL_DEVICE_TYPE` (deprecated) | 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. We are planning to deprecate `SYCL_DEVICE_TYPE` environment variable in the future. The specific grace period is not decided yet. Please use the new env var `SYCL_DEVICE_FILTER` instead. |
11
+
|`SYCL_DEVICE_TYPE` (deprecated) | 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 `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. We are planning to deprecate `SYCL_DEVICE_TYPE` environment variable in the future. The specific grace period is not decided yet. Please use the new env var `SYCL_DEVICE_FILTER` instead. |
12
12
|`SYCL_DEVICE_FILTER`|`backend:device_type:device_num`| See Section [`SYCL_DEVICE_FILTER`](#sycl_device_filter) below. |
13
13
|`SYCL_DEVICE_ALLOWLIST`| See [below](#sycl_device_allowlist)| Filter out devices that do not match the pattern specified. `BackendName` accepts `host`, `opencl`, `level_zero` or `cuda`. `DeviceType` accepts `host`, `cpu`, `gpu` or `acc`. `DeviceVendorId` accepts uint32_t in hex form (`0xXYZW`). `DriverVersion`, `PlatformVersion`, `DeviceName` and `PlatformName` accept regular expression. Special characters, such as parenthesis, must be escaped. DPC++ runtime will select only those devices which satisfy provided values above and regex. More than one device can be specified using the piping symbol "\|".|
@@ -107,7 +107,7 @@ variables in production code.</span>
107
107
|`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. |
108
108
|`SYCL_PROGRAM_COMPILE_OPTIONS`| String of valid OpenCL compile options | Override compile options for all programs. |
109
109
|`SYCL_PROGRAM_LINK_OPTIONS`| String of valid OpenCL link options | Override link options for all programs. |
110
-
|`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.|
110
+
|`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, `sycl::runtime_error` exception is thrown.|
111
111
|`SYCL_DUMP_IMAGES`| Any(\*) | Dump device image binaries to file. Control has no effect if `SYCL_USE_KERNEL_SPV` is set. |
112
112
|`SYCL_HOST_UNIFIED_MEMORY`| Integer | Enforce host unified memory support or lack of it for the execution graph builder. If set to 0, it is enforced as not supported by all devices. If set to 1, it is enforced as supported by all devices. |
113
113
|`SYCL_CACHE_TRACE`| Any(\*) | If the variable is set, messages are sent to std::cerr when caching events or non-blocking failures happen (e.g. unable to access cache item file). |
0 commit comments