|
HAMR
The Heterogeneous Accelerator Memory Resource
|
#include <hamr_cuda_device.h>
Public Member Functions | |
| int | enable (int dest_device, int src_device, bool symetric) |
| enable peer to peer access. the dest device must active. More... | |
| int | disable () |
| disable peer to peer access. More... | |
Activate peer to peer memory access between two devices, and deactivate when the object goes out of scope.
| int hamr::access_cuda_peer::disable | ( | ) |
disable peer to peer access.
| int hamr::access_cuda_peer::enable | ( | int | dest_device, |
| int | src_device, | ||
| bool | symetric | ||
| ) |
enable peer to peer access. the dest device must active.