gem5
v20.1.0.0
|
#include <hsa_packet_processor.hh>
Public Member Functions | |
HSAQueueDescriptor (uint64_t base_ptr, uint64_t db_ptr, uint64_t hri_ptr, uint32_t size) | |
uint64_t | spaceRemaining () |
uint64_t | spaceUsed () |
uint32_t | objSize () |
uint32_t | numObjs () |
bool | isFull () |
bool | isEmpty () |
uint64_t | ptr (uint64_t ix) |
Public Attributes | |
uint64_t | basePointer |
uint64_t | doorbellPointer |
uint64_t | writeIndex |
uint64_t | readIndex |
uint32_t | numElts |
uint64_t | hostReadIndexPtr |
bool | stalledOnDmaBufAvailability |
bool | dmaInProgress |
Definition at line 72 of file hsa_packet_processor.hh.
|
inline |
Definition at line 83 of file hsa_packet_processor.hh.
|
inline |
Definition at line 96 of file hsa_packet_processor.hh.
References numElts, and spaceRemaining().
Referenced by HSAPacketProcessor::finishPkt(), and HSAPacketProcessor::updateReadIndex().
|
inline |
Definition at line 95 of file hsa_packet_processor.hh.
References spaceRemaining().
|
inline |
Definition at line 94 of file hsa_packet_processor.hh.
References numElts.
Referenced by HSAPacketProcessor::getCommandsFromHost().
|
inline |
Definition at line 93 of file hsa_packet_processor.hh.
References AQL_PACKET_SIZE.
Referenced by HSAPacketProcessor::getCommandsFromHost(), and ptr().
|
inline |
Definition at line 98 of file hsa_packet_processor.hh.
References basePointer, numElts, and objSize().
Referenced by HSAPacketProcessor::getCommandsFromHost().
|
inline |
Definition at line 91 of file hsa_packet_processor.hh.
References numElts, readIndex, and writeIndex.
|
inline |
Definition at line 92 of file hsa_packet_processor.hh.
References readIndex, and writeIndex.
Referenced by HSAPacketProcessor::finishPkt(), HSAPacketProcessor::getCommandsFromHost(), and HSAPacketProcessor::updateReadIndex().
uint64_t HSAQueueDescriptor::basePointer |
Definition at line 74 of file hsa_packet_processor.hh.
Referenced by ptr().
bool HSAQueueDescriptor::dmaInProgress |
Definition at line 81 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::getCommandsFromHost(), HWScheduler::isRLQIdle(), and HSAPacketProcessor::CmdQueueCmdDmaEvent::process().
uint64_t HSAQueueDescriptor::doorbellPointer |
Definition at line 75 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::getCommandsFromHost(), and HWScheduler::removeQCntxt().
uint64_t HSAQueueDescriptor::hostReadIndexPtr |
Definition at line 79 of file hsa_packet_processor.hh.
Referenced by GPUCommandProcessor::initABI(), GPUCommandProcessor::ReadDispIdOffsetDmaEvent::process(), and HSAPacketProcessor::updateReadIndex().
uint32_t HSAQueueDescriptor::numElts |
Definition at line 78 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), isEmpty(), numObjs(), ptr(), spaceRemaining(), and HSAPacketProcessor::updateReadIndex().
uint64_t HSAQueueDescriptor::readIndex |
Definition at line 77 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), HSAPacketProcessor::getCommandsFromHost(), spaceRemaining(), spaceUsed(), and HSAPacketProcessor::updateReadIndex().
bool HSAQueueDescriptor::stalledOnDmaBufAvailability |
Definition at line 80 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), and HSAPacketProcessor::getCommandsFromHost().
uint64_t HSAQueueDescriptor::writeIndex |
Definition at line 76 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), HSAPacketProcessor::getCommandsFromHost(), spaceRemaining(), spaceUsed(), and HSAPacketProcessor::updateReadIndex().