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: sycl/doc/EnvironmentVariables.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,12 @@ Note that conflicting configuration tuples in the same list will favor the last
163
163
| -------------------- | ------ | ----------- |
164
164
|`SYCL_PI_CUDA_MAX_LOCAL_MEM_SIZE`| Integer | Specifies the maximum size of a local memory allocation in bytes. If the value exceeds the device's capabilities then a `sycl::runtime_error` is thrown. In order for the full error message to be printed, `SYCL_RT_WARNING_LEVEL=2` must be set. The default value for `SYCL_PI_CUDA_MAX_LOCAL_MEM_SIZE` is determined by the hardware. |
165
165
166
+
## Controlling DPC++ HIP Plugin
167
+
168
+
| Environment variable | Values | Description |
169
+
| -------------------- | ------ | ----------- |
170
+
|`SYCL_PI_HIP_MAX_LOCAL_MEM_SIZE`| Integer | Specifies the maximum size of a local memory allocation in bytes. If the value exceeds the device's capabilities then a `sycl::runtime_error` is thrown. In order for the full error message to be printed, `SYCL_RT_WARNING_LEVEL=2` must be set. The default value for `SYCL_PI_HIP_MAX_LOCAL_MEM_SIZE` is determined by the hardware. |
0 commit comments