cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
|
API functions and definitions relating to communications among "peer" contexts on the same system, which may possibly regard different CUDA devices. More...
Functions | |
bool | can_access (context_t accessor, context_t peer) |
Check if a CUDA context can access the global memory of another CUDA context. | |
void | enable_access (context_t accessor, context_t peer) |
Enable access by one CUDA device to the global memory of another. More... | |
void | disable_access (context_t accessor, context_t peer) |
Disable access by one CUDA device to the global memory of another. More... | |
void | enable_bidirectional_access (context_t first, context_t second) |
Enable access both by the first to the second context and the other way around. | |
void | disable_bidirectional_access (context_t first, context_t second) |
Disable access both by the first to the second context and the other way around. | |
API functions and definitions relating to communications among "peer" contexts on the same system, which may possibly regard different CUDA devices.
Disable access by one CUDA device to the global memory of another.
accessor | device interested in making a remote access |
peer | device to be accessed |