gem5
v20.1.0.0
|
#include <cstdint>
#include <queue>
#include "dev/dma_device.hh"
#include "dev/hsa/hsa.h"
#include "dev/hsa/hsa_queue.hh"
#include "params/HSAPacketProcessor.hh"
Go to the source code of this file.
Classes | |
class | HSAQueueDescriptor |
class | AQLRingBuffer |
Internal ring buffer which is used to prefetch/store copies of the in-memory HSA ring buffer. More... | |
struct | QueueContext |
class | HSAPacketProcessor |
class | HSAPacketProcessor::SignalState |
class | HSAPacketProcessor::QueueProcessEvent |
class | HSAPacketProcessor::RQLEntry |
class | HSAPacketProcessor::DepSignalsReadDmaEvent |
class | HSAPacketProcessor::UpdateReadDispIdDmaEvent |
this event is used to update the read_disp_id field (the read pointer) of the MQD, which is how the host code knows the status of the HQD's read pointer More... | |
struct | HSAPacketProcessor::dma_series_ctx |
Calls getCurrentEntry once the queueEntry has been dmaRead. More... | |
class | HSAPacketProcessor::CmdQueueCmdDmaEvent |
Macros | |
#define | AQL_PACKET_SIZE 64 |
#define | PAGE_SIZE 4096 |
#define | NUM_DMA_BUFS 16 |
#define | DMA_BUF_SIZE (AQL_PACKET_SIZE * NUM_DMA_BUFS) |
#define | NumSignalsPerBarrier 5 |
Typedefs | |
typedef struct QueueContext | QCntxt |
Enumerations | |
enum | Q_STATE { UNBLOCKED = 0, BLOCKED_BBIT, BLOCKED_BPKT } |
#define AQL_PACKET_SIZE 64 |
Definition at line 48 of file hsa_packet_processor.hh.
#define DMA_BUF_SIZE (AQL_PACKET_SIZE * NUM_DMA_BUFS) |
Definition at line 51 of file hsa_packet_processor.hh.
#define NUM_DMA_BUFS 16 |
Definition at line 50 of file hsa_packet_processor.hh.
#define NumSignalsPerBarrier 5 |
Definition at line 53 of file hsa_packet_processor.hh.
#define PAGE_SIZE 4096 |
Definition at line 49 of file hsa_packet_processor.hh.
typedef struct QueueContext QCntxt |
enum Q_STATE |
Enumerator | |
---|---|
UNBLOCKED | |
BLOCKED_BBIT | |
BLOCKED_BPKT |
Definition at line 58 of file hsa_packet_processor.hh.