Showing content from http://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__PEER.html below:
CUDA Runtime API :: CUDA Toolkit Documentation
6.14. Peer Device Memory Access
This section describes the peer device memory access functions of the CUDA runtime application programming interface.
Functions
-
__host__ âcudaError_t cudaDeviceCanAccessPeer ( int* canAccessPeer, int  device, int  peerDevice )
-
Queries if a device may directly access a peer device's memory.
-
__host__ âcudaError_t cudaDeviceDisablePeerAccess ( int  peerDevice )
-
Disables direct access to memory allocations on a peer device.
-
__host__ âcudaError_t cudaDeviceEnablePeerAccess ( int  peerDevice, unsigned int  flags )
-
Enables direct access to memory allocations on a peer device.
Functions
-
__host__ âcudaError_t cudaDeviceCanAccessPeer ( int* canAccessPeer, int  device, int  peerDevice )
-
Queries if a device may directly access a peer device's memory.
Parameters
-
canAccessPeer
-
- Returned access capability
-
device
-
- Device from which allocations on peerDevice are to be directly accessed.
-
peerDevice
-
- Device on which the allocations to be directly accessed by device reside.
-
__host__ âcudaError_t cudaDeviceDisablePeerAccess ( int  peerDevice )
-
Disables direct access to memory allocations on a peer device.
Parameters
-
peerDevice
-
- Peer device to disable direct access to
-
__host__ âcudaError_t cudaDeviceEnablePeerAccess ( int  peerDevice, unsigned int  flags )
-
Enables direct access to memory allocations on a peer device.
Parameters
-
peerDevice
-
- Peer device to enable direct access to from the current device
-
flags
-
- Reserved for future use and must be set to 0
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4