dpctl.SyclDevice.partition_type_affinity_domain

SyclDevice.partition_type_affinity_domain

Returns the partition affinity domain used to partition the parent device if this is a sub-device partitioned by affinity domain, or "not_applicable" otherwise.

Returns:

The affinity domain string.

Return type:

str

Raises:

RuntimeError – If an unrecognized partition affinity domain is reported by runtime.