HAMR
The Heterogeneous Accelerator Memory Resource
hamr::activate_cuda_device Class Reference

#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)
 

Detailed Description

Activate the specified CUDA device, and restore the previously active device when the object is destroyed.


The documentation for this class was generated from the following file: