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

Go to the source code of this file.

Classes

class  hamr::activate_cuda_device
 
class  hamr::access_cuda_peer
 

Namespaces

 hamr
 heterogeneous accelerator memory resource
 

Functions

int HAMR_EXPORT hamr::get_cuda_device_identifier (int &dev_id)
 gets the device identifier for the first GPU. More...
 
int HAMR_EXPORT hamr::get_cuda_host_identifier (int &dev_id)
 gets the device identifier for the host. More...
 
int HAMR_EXPORT hamr::get_active_cuda_device (int &dev_id)
 gets the currently atcive CUDA device. More...
 
int HAMR_EXPORT hamr::set_active_cuda_device (int dev_id)
 sets the active CUDA device. returns zero if successful. More...
 
int HAMR_EXPORT hamr::get_cuda_device (const void *ptr, int &device_id)
 gets the device that owns the given pointer. More...