cudaDeviceCanAccessPeer: Queries if a device may directly access a peer device's...

Description Usage Arguments Value References See Also

Description

Returns a value of 1 if device device is capable of directly accessing memory from peerDevice and 0 otherwise. If direct access of peerDevice from device is possible, then access may be enabled by calling cudaDeviceEnablePeerAccess().

Usage

1

Arguments

device

Device from which allocations on peerDevice are to

peerDevice

Device on which the allocations to be directly accessed

Value

canAccessPeer

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cudaDeviceEnablePeerAccess cudaDeviceDisablePeerAccess


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.