gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros | Typedefs
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
 

Macro Definition Documentation

◆ AQL_PACKET_SIZE

#define AQL_PACKET_SIZE   64

Definition at line 48 of file hsa_packet_processor.hh.

Referenced by HSAQueueDescriptor::objSize(), and AQLRingBuffer::objSize().

◆ 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.

Referenced by HWScheduler::registerNewQueue().

◆ NumSignalsPerBarrier

#define NumSignalsPerBarrier   5

◆ PAGE_SIZE

#define PAGE_SIZE   4096

Definition at line 49 of file hsa_packet_processor.hh.

Typedef Documentation

◆ QCntxt

typedef struct QueueContext QCntxt

Generated on Mon Jun 8 2020 15:45:17 for gem5 by doxygen 1.8.13