cudaDeviceEnablePeerAccess: Enables direct access to memory allocations on a peer device.

Description Usage Arguments References See Also

Description

On success, all allocations from peerDevice will immediately be accessible by the current device. They will remain accessible until access is explicitly disabled using cudaDeviceDisablePeerAccess() or either device is reset using cudaDeviceReset().

Usage

1
cudaDeviceEnablePeerAccess(peerDevice, flags)

Arguments

peerDevice

Peer device to enable direct access to from the current device

flags

Reserved for future use and must be set to 0

References

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

See Also

cudaDeviceCanAccessPeer cudaDeviceDisablePeerAccess


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