dpctl.SyclDevice.disable_peer_access¶
- SyclDevice.disable_peer_access(peer)¶
Disables peer access to
peerfrom 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.SyclDeviceinstance to disable peer access to.- Raises:
TypeError – If
peeris notdpctl.SyclDevice.ValueError – If the backend associated with this device or
peerdoes not support peer access.