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
Copy file name to clipboardExpand all lines: scripts/core/INTRO.rst
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,15 @@ Unified Runtime loader implements tracing support through the `XPTI framework <h
179
179
|**user_data**: A pointer to `function_with_args_t` object, that includes function ID, name, arguments, and return value.
180
180
- None
181
181
182
+
Sanitizers
183
+
---------------------
184
+
185
+
Unified Runtime loader implements the runtime part of device-side sanitizers: AddressSanitizer (`UR_LAYER_ASAN`), MemorySanitizer (`UR_LAYER_MSAN`, planned), and ThreadSanitizer (`UR_LAYER_TSAN`, planned).
186
+
187
+
This layer shouldn't be enabled explicitly, for example, by the environment variable `UR_ENABLE_LAYERS`, but is enabled by program's runtime (e.g. SYCL/OpenMP Runtime) when the device code is compiled with flag `-fsanitize=address|memory|thread`.
188
+
189
+
Currently, AddressSanitizer only supports some of the devices on OpenCL and Level-Zero adapters, and this could be extended to support other devices and adapters if UR virtual memory APIs and shadow memory mapping in libdevice are supported.
190
+
182
191
Logging
183
192
---------------------
184
193
@@ -260,6 +269,8 @@ Layers currently included with the runtime are as follows:
260
269
- Enables UR_LAYER_PARAMETER_VALIDATION and UR_LAYER_LEAK_CHECKING.
261
270
* - UR_LAYER_TRACING
262
271
- Enables the XPTI tracing layer, see Tracing_ for more detail.
0 commit comments