|
HAMR
The Heterogeneous Accelerator Memory Resource
|
#include <hamr_cuda_device.h>
Public Member Functions | |
| activate_cuda_device (const activate_cuda_device &)=delete | |
| void | operator= (const activate_cuda_device &)=delete |
| activate_cuda_device (int id) | |
Activate the specified CUDA device, and restore the previously active device when the object is destroyed.