gem5
v20.0.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 59 of file hsa_packet_processor.hh.
|
inline |
Definition at line 70 of file hsa_packet_processor.hh.
|
inline |
Definition at line 83 of file hsa_packet_processor.hh.
References numElts, and spaceRemaining().
Referenced by HSAPacketProcessor::finishPkt(), and HSAPacketProcessor::updateReadIndex().
|
inline |
Definition at line 82 of file hsa_packet_processor.hh.
References spaceRemaining().
|
inline |
Definition at line 81 of file hsa_packet_processor.hh.
References numElts.
Referenced by HSAPacketProcessor::getCommandsFromHost(), AQLRingBuffer::hostDispAddr(), and AQLRingBuffer::saveHostDispAddr().
|
inline |
Definition at line 80 of file hsa_packet_processor.hh.
References AQL_PACKET_SIZE.
Referenced by HSAPacketProcessor::getCommandsFromHost(), ptr(), and AQLRingBuffer::saveHostDispAddr().
|
inline |
Definition at line 85 of file hsa_packet_processor.hh.
References numElts, and objSize().
Referenced by HSAPacketProcessor::getCommandsFromHost().
|
inline |
Definition at line 78 of file hsa_packet_processor.hh.
References readIndex.
|
inline |
Definition at line 79 of file hsa_packet_processor.hh.
References readIndex.
Referenced by HSAPacketProcessor::finishPkt(), HSAPacketProcessor::getCommandsFromHost(), and HSAPacketProcessor::updateReadIndex().
uint64_t HSAQueueDescriptor::basePointer |
Definition at line 61 of file hsa_packet_processor.hh.
bool HSAQueueDescriptor::dmaInProgress |
Definition at line 68 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::getCommandsFromHost(), HWScheduler::isRLQIdle(), and HSAPacketProcessor::CmdQueueCmdDmaEvent::process().
uint64_t HSAQueueDescriptor::doorbellPointer |
Definition at line 62 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::getCommandsFromHost(), and HWScheduler::removeQCntxt().
uint64_t HSAQueueDescriptor::hostReadIndexPtr |
Definition at line 66 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::updateReadIndex().
uint32_t HSAQueueDescriptor::numElts |
Definition at line 65 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), isEmpty(), numObjs(), ptr(), and HSAPacketProcessor::updateReadIndex().
uint64_t HSAQueueDescriptor::readIndex |
Definition at line 64 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), HSAPacketProcessor::getCommandsFromHost(), spaceRemaining(), spaceUsed(), and HSAPacketProcessor::updateReadIndex().
bool HSAQueueDescriptor::stalledOnDmaBufAvailability |
Definition at line 67 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), and HSAPacketProcessor::getCommandsFromHost().
uint64_t HSAQueueDescriptor::writeIndex |
Definition at line 63 of file hsa_packet_processor.hh.
Referenced by HSAPacketProcessor::finishPkt(), HSAPacketProcessor::getCommandsFromHost(), and HSAPacketProcessor::updateReadIndex().