Go to the documentation of this file.
39 #ifndef __DEV_HSA_HSA_DEVICE_HH__
40 #define __DEV_HSA_HSA_DEVICE_HH__
44 #include "params/HSADevice.hh"
67 fatal(
"%s does not accept dispatch packets\n",
name());
81 fatal(
"%s does not accept vendor specific packets\n",
name());
98 #endif // __DEV_HSA_HSA_DEVICE_HH__
HSAPacketProcessor * hsaPP
#define fatal(...)
This implements a cprintf based fatal() function.
void(DmaDevice::* DmaFnPtr)(Addr, int, Event *, uint8_t *, Tick)
void dmaWriteVirt(Addr host_addr, unsigned size, DmaCallback *cb, void *data, Tick delay=0)
uint64_t Tick
Tick count type.
void dmaReadVirt(Addr host_addr, unsigned size, DmaCallback *cb, void *data, Tick delay=0)
void setDevice(HSADevice *dev)
virtual void submitVendorPkt(void *raw_pkt, uint32_t queue_id, Addr host_pkt_addr)
submitVendorPkt() accepts vendor specific packets from the HSA packet processor.
virtual void submitDispatchPkt(void *raw_pkt, uint32_t qID, Addr host_pkt_addr)
submitDispatchPkt() accepts AQL dispatch packets from the HSA packet processor.
void translateOrDie(Addr vaddr, Addr &paddr)
HSADevices will perform DMA operations on VAs, and because page faults are not currently supported fo...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual const std::string name() const
HSADevice(const Params *p)
HSAPacketProcessor & hsaPacketProc()
void dmaVirt(DmaFnPtr, Addr host_addr, unsigned size, DmaCallback *cb, void *data, Tick delay=0)
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17