dpctl.SyclDevice.disable_peer_access¶
- SyclDevice.disable_peer_access(peer)¶
Disables peer access to
peer
from this device (self
).Peer access may be enabled by calling
enable_peer_access()
.For details, see DPC++ peer access SYCL extension.
- Parameters:
peer (
dpctl.SyclDevice
) – Thedpctl.SyclDevice
instance to disable peer access to.- Raises:
TypeError – If
peer
is notdpctl.SyclDevice
.ValueError – If the backend associated with this device or
peer
does not support peer access.