Description Usage Arguments References See Also
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.
1 | cuCtxEnablePeerAccess(peerContext, Flags)
|
peerContext |
Peer context to enable direct access to from the current context |
Flags |
Reserved for future use and must be set to 0 |
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cuDeviceCanAccessPeer
cuCtxDisablePeerAccess
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.