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

#include <hamr_hip_device.h>

Public Member Functions

 activate_hip_device (const activate_hip_device &)=delete
 
void operator= (const activate_hip_device &)=delete
 
 activate_hip_device (int id)
 

Detailed Description

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


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