gem5  v20.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes
hsa_driver.hh File Reference

An HSADriver is an emulated driver that controls an HSA agent, or more simply put, an HSA device. More...

#include "base/types.hh"
#include "sim/emul_driver.hh"

Go to the source code of this file.

Classes

class  HSADriver
 

Detailed Description

An HSADriver is an emulated driver that controls an HSA agent, or more simply put, an HSA device.

An HSA device is a device that has an associated HSA packet processor.

In the base HSADriver class the open() method is implemented, as well as the mmap() call, which maps the HSA packet processor's doorbells. Drivers for other HSA devices should derive from this class and implement the necessary methods; typically this is an ioctl() method that satisfies the ioctl requests needed to manage and control the device.

Definition in file hsa_driver.hh.


Generated on Thu May 28 2020 16:21:39 for gem5 by doxygen 1.8.13