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

#include <hamr_openmp_device.h>

Public Member Functions

 activate_openmp_device (const activate_openmp_device &)=delete
 
void operator= (const activate_openmp_device &)=delete
 
 activate_openmp_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: