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][PI][L0] Add batching of multiple command into a command list before executing that command list. (#2605)
* [SYCl][PI][L0] Add support for batching multiple commands into a command
list prior to executing that command list.
* Fix for overly aggressive assertion. Needed to executeOpenCommandList
in this case.
* Added checking for return value from executeOpenCommandList.
* Added comment on QueueBatchSize, and removed unneeded check of RefCount in
executeOpenCommandList as requested in code review.
Copy file name to clipboardExpand all lines: sycl/doc/EnvironmentVariables.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ subject to change. Do not rely on these variables in production code.
28
28
| SYCL_DEVICELIB_NO_FALLBACK | Any(\*) | Disable loading and linking of device library images |
29
29
| SYCL_PI_LEVEL0_MAX_COMMAND_LIST_CACHE | Positive integer | Maximum number of oneAPI Level Zero Command lists that can be allocated with no reuse before throwing an "out of resources" error. Default is 20000, threshold may be increased based on resource availabilty and workload demand. |
30
30
| SYCL_PI_LEVEL0_DISABLE_USM_ALLOCATOR | Any(\*) | Disable USM allocator in Level Zero plugin (each memory request will go directly to Level Zero runtime) |
31
+
| SYCL_PI_LEVEL_ZERO_BATCH_SIZE | Positive integer | Sets a preferred number of commands to batch into a command list before executing the command list. Values 0 and 1 turn off batching. Default is 4. |
31
32
32
33
`(*) Note: Any means this environment variable is effective when set to any non-null value.`
0 commit comments