cuCtxEnablePeerAccess: Enables direct access to memory allocations in a peer...

Description Usage Arguments References See Also

Description

If both the current context and peerContext are on devices which support unified addressing (as may be queried using CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING) and same major compute capability, then on success all allocations from peerContext will immediately be accessible by the current context. See CUDA_UNIFIED for additional details.

Usage

1
cuCtxEnablePeerAccess(peerContext, Flags)

Arguments

peerContext

Peer context to enable direct access to from the current context

Flags

Reserved for future use and must be set to 0

References

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

See Also

cuDeviceCanAccessPeer cuCtxDisablePeerAccess


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