HAMR
The Heterogeneous Accelerator Memory Resource
hamr_hip_device.h File Reference
#include "hamr_config.h"
Include dependency graph for hamr_hip_device.h:

Go to the source code of this file.

Classes

class  hamr::activate_hip_device
 

Namespaces

 hamr
 heterogeneous accelerator memory resource
 

Functions

int HAMR_EXPORT hamr::get_hip_device_identifier (int &dev_id)
 gets the device identifier for the first GPU. More...
 
int HAMR_EXPORT hamr::get_hip_cpu_identifier (int &dev_id)
 gets the device identifier for the CPU. More...
 
int HAMR_EXPORT hamr::get_active_hip_device (int &dev_id)
 gets the currently atcive HIP device. returns zero if successful. More...
 
int HAMR_EXPORT hamr::set_active_hip_device (int dev_id)
 sets the active HIP device. returns zero if successful. More...
 
int HAMR_EXPORT hamr::get_hip_device (const void *ptr, int &device_id)
 gets the device that owns the given pointer. More...