Skip to content

Commit 60bc34b

Browse files
author
Hugh Delaney
committed
Remove bit about magic number
1 parent bce4201 commit 60bc34b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sycl/doc/EnvironmentVariables.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ the implicit `nd_range` `{7808, 32}`, which corresponds to a workgroup size of
201201
The parallel for range rounding will only be used in the X (outermost)
202202
dimension of a `sycl::range`, since if the inner dimensions are changed by the
203203
SYCL runtime this can change the stride offset of different dimensions. Range
204-
rounding will only be used if the SYCL runtime X dimension exceeds 32, which
205-
is a magic number chosen by the SYCL runtime.
204+
rounding will only be used if the SYCL runtime X dimension exceeds some minimum
205+
value, which can be configured using the
206+
`SYCL_PARALLEL_FOR_RANGE_ROUNDING_PARAMS` environment variable.
206207

207208
Generation of range rounded kernels can be disabled by using the compiler flag
208209
`-fsycl-disable-range-rounding`.

0 commit comments

Comments
 (0)