gem5  v20.1.0.0
Classes | Macros | Typedefs | Enumerations
hsa_packet_processor.hh File Reference
#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 }
 

Macro Definition Documentation

◆ AQL_PACKET_SIZE

#define AQL_PACKET_SIZE   64

Definition at line 48 of file hsa_packet_processor.hh.

◆ DMA_BUF_SIZE

#define DMA_BUF_SIZE   (AQL_PACKET_SIZE * NUM_DMA_BUFS)

Definition at line 51 of file hsa_packet_processor.hh.

◆ NUM_DMA_BUFS

#define NUM_DMA_BUFS   16

Definition at line 50 of file hsa_packet_processor.hh.

◆ NumSignalsPerBarrier

#define NumSignalsPerBarrier   5

Definition at line 53 of file hsa_packet_processor.hh.

◆ PAGE_SIZE

#define PAGE_SIZE   4096

Definition at line 49 of file hsa_packet_processor.hh.

Typedef Documentation

◆ QCntxt

typedef struct QueueContext QCntxt

Enumeration Type Documentation

◆ Q_STATE

enum Q_STATE
Enumerator
UNBLOCKED 
BLOCKED_BBIT 
BLOCKED_BPKT 

Definition at line 58 of file hsa_packet_processor.hh.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17