deviceCanAccessPeer

external fun deviceCanAccessPeer(dev: Int, peerDev: Int): Int

Queries if a device may directly access a peer device's memory. (cuDeviceCanAccessPeer)

Return

Returned access capability

Parameters

dev

Device from which allocations on peerDev are to be directly accessed.

peerDev

Device on which the allocations to be directly accessed by dev reside.