gem5  v20.1.0.0
Classes
hsa_driver.hh File Reference
#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 Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17