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
With this change, on PVC sub-sub-devices now require
`info::partition_property::ext_intel_partition_by_cslice` instead of
`info::partition_property::partition_by_affinity_domain` that wasn't
quite accurately describing the actual scheme.
The old behavior could be temporarily restored via
`SYCL_PI_LEVEL_ZERO_EXPOSE_CSLICE_IN_AFFINITY_PARTITIONING` environment
variable but it is immediately deprecated, and customers are encouraged
to switch to the new partitioning scheme as soon as possible.
However, even in this scenario,
`sub_sub_device.get_info<info::device::partition_type_property>()` would
return `info::partition_property::ext_intel_partition_by_cslice`. That
is due to the fact that the whole device hierarchy is pre-populated in
the plugin, and we don't know in advance what partitioning would be used
in `get_sub_devices` call from SYCL RT.
On other devices, CSlice-based partitioning is now disabled because
that's not how the actual H/W works. If precise manual access to
individual CCS is required than `sycl_ext_intel_queue_index` extension
should be used instead.
Extension specification is being added in
#7513.
Copy file name to clipboardExpand all lines: sycl/doc/EnvironmentVariables.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -249,6 +249,7 @@ variables in production code.</span>
249
249
|`SYCL_PI_LEVEL_ZERO_USE_COPY_ENGINE_FOR_FILL`| Integer | When set to a positive value enables use of a copy engine for memory fill operations. Default is 0. |
250
250
|`SYCL_PI_LEVEL_ZERO_SINGLE_ROOT_DEVICE_BUFFER_MIGRATION`| Integer | When set to "0" tells to use single root-device allocation for all devices in a context where all devices have same root. Otherwise performs regular buffer migration. Default is 1. |
251
251
|`SYCL_PI_LEVEL_ZERO_REUSE_DISCARDED_EVENTS`| Integer | When set to a positive value enables the mode when discarded Level Zero events are reset and reused in scope of the same in-order queue based on the dependency chain between commands. Default is 1. |
252
+
|`SYCL_PI_LEVEL_ZERO_EXPOSE_CSLICE_IN_AFFINITY_PARTITIONING` (Deprecated) | Integer | When set to non-zero value exposes compute slices as sub-sub-devices in `sycl::info::partition_property::partition_by_affinity_domain` partitioning scheme. Default is zero meaning that they are only exposed when partitioning by `sycl::info::partition_property::ext_intel_partition_by_cslice`. This option is introduced for compatibility reasons and is immediately deprecated. New code must not rely on this behavior. Also note that even if sub-sub-device was created using `partition_by_affinity_domain` it would still be reported as created via partitioning by compute slices. |
0 commit comments