gem5
v21.1.0.1
|
#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 76 of file hsa_packet_processor.hh.
|
inline |
Definition at line 88 of file hsa_packet_processor.hh.
|
inline |
Definition at line 101 of file hsa_packet_processor.hh.
References numElts, and spaceRemaining().
Referenced by gem5::HSAPacketProcessor::finishPkt(), and gem5::HSAPacketProcessor::updateReadIndex().
|
inline |
Definition at line 100 of file hsa_packet_processor.hh.
References spaceRemaining().
|
inline |
Definition at line 99 of file hsa_packet_processor.hh.
References numElts.
Referenced by gem5::HSAPacketProcessor::getCommandsFromHost().
|
inline |
Definition at line 98 of file hsa_packet_processor.hh.
References AQL_PACKET_SIZE.
Referenced by gem5::HSAPacketProcessor::getCommandsFromHost(), and ptr().
|
inline |
Sometimes queues report that their size is 512k, which would indicate numElts of 0x2000. However, they only have 256k mapped which means any index over 0x1000 will fail an address translation.
Definition at line 103 of file hsa_packet_processor.hh.
References basePointer, numElts, and objSize().
Referenced by gem5::HSAPacketProcessor::getCommandsFromHost().
|
inline |
Definition at line 96 of file hsa_packet_processor.hh.
References numElts, readIndex, and writeIndex.
|
inline |
Definition at line 97 of file hsa_packet_processor.hh.
References readIndex, and writeIndex.
Referenced by gem5::HSAPacketProcessor::finishPkt(), gem5::HSAPacketProcessor::getCommandsFromHost(), and gem5::HSAPacketProcessor::updateReadIndex().
uint64_t gem5::HSAQueueDescriptor::basePointer |
Definition at line 79 of file hsa_packet_processor.hh.
Referenced by ptr().
bool gem5::HSAQueueDescriptor::dmaInProgress |
Definition at line 86 of file hsa_packet_processor.hh.
Referenced by gem5::HSAPacketProcessor::cmdQueueCmdDma(), gem5::HSAPacketProcessor::getCommandsFromHost(), and gem5::HWScheduler::isRLQIdle().
uint64_t gem5::HSAQueueDescriptor::doorbellPointer |
Definition at line 80 of file hsa_packet_processor.hh.
Referenced by gem5::HSAPacketProcessor::getCommandsFromHost(), and gem5::HWScheduler::removeQCntxt().
uint64_t gem5::HSAQueueDescriptor::hostReadIndexPtr |
Definition at line 84 of file hsa_packet_processor.hh.
Referenced by gem5::GPUCommandProcessor::ReadDispIdOffsetDmaEvent(), and gem5::HSAPacketProcessor::updateReadIndex().
uint32_t gem5::HSAQueueDescriptor::numElts |
Definition at line 83 of file hsa_packet_processor.hh.
Referenced by gem5::HSAPacketProcessor::finishPkt(), isEmpty(), numObjs(), ptr(), spaceRemaining(), and gem5::HSAPacketProcessor::updateReadIndex().
uint64_t gem5::HSAQueueDescriptor::readIndex |
Definition at line 82 of file hsa_packet_processor.hh.
Referenced by gem5::HSAPacketProcessor::finishPkt(), gem5::HSAPacketProcessor::getCommandsFromHost(), spaceRemaining(), spaceUsed(), and gem5::HSAPacketProcessor::updateReadIndex().
bool gem5::HSAQueueDescriptor::stalledOnDmaBufAvailability |
Definition at line 85 of file hsa_packet_processor.hh.
Referenced by gem5::HSAPacketProcessor::finishPkt(), and gem5::HSAPacketProcessor::getCommandsFromHost().
uint64_t gem5::HSAQueueDescriptor::writeIndex |
Definition at line 81 of file hsa_packet_processor.hh.
Referenced by gem5::HSAPacketProcessor::finishPkt(), gem5::HSAPacketProcessor::getCommandsFromHost(), spaceRemaining(), spaceUsed(), and gem5::HSAPacketProcessor::updateReadIndex().