gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros | Variables
qstruct.hh File Reference
#include <bitset>
#include <cstdint>

Go to the source code of this file.

Classes

struct  HsaQueueEntry
 
struct  HostState
 

Macros

#define HSAQ(n)   (HSAQ_BASE + HSAQ_SIZE * sizeof(struct fsaQueue) * n)
 
#define HSAQE(n, i)   (HSAQ_BASE + (HSAQ_SIZE * n + i) * sizeof(struct fsaQueue))
 
#define HSAQ_RI(n)   (HSAQ_INDX_BASE + sizeof(int) * (n * 3 + 0))
 
#define HSAQ_WI(n)   (HSAQ_INDX_BASE + sizeof(int) * (n * 3 + 1))
 
#define HSAQ_CI(n)   (HSAQ_INDX_BASE + sizeof(int) * (n * 3 + 2))
 

Variables

static const int KER_NUM_ARGS = 32
 
static const int KER_ARGS_LENGTH = 512
 
static const int HSAQ_NQUEUES = 8
 
static const int HSAQ_SIZE = 64
 
static const int HSAQ_INDX_BASE = 0x10000ll
 
static const int HSAQ_BASE = 0x11000ll
 
static const int HSA_CODE_BASE = 0x18000ll
 

Macro Definition Documentation

◆ HSAQ

#define HSAQ (   n)    (HSAQ_BASE + HSAQ_SIZE * sizeof(struct fsaQueue) * n)

Definition at line 124 of file qstruct.hh.

◆ HSAQ_CI

#define HSAQ_CI (   n)    (HSAQ_INDX_BASE + sizeof(int) * (n * 3 + 2))

Definition at line 128 of file qstruct.hh.

◆ HSAQ_RI

#define HSAQ_RI (   n)    (HSAQ_INDX_BASE + sizeof(int) * (n * 3 + 0))

Definition at line 126 of file qstruct.hh.

◆ HSAQ_WI

#define HSAQ_WI (   n)    (HSAQ_INDX_BASE + sizeof(int) * (n * 3 + 1))

Definition at line 127 of file qstruct.hh.

◆ HSAQE

#define HSAQE (   n,
 
)    (HSAQ_BASE + (HSAQ_SIZE * n + i) * sizeof(struct fsaQueue))

Definition at line 125 of file qstruct.hh.

Variable Documentation

◆ HSA_CODE_BASE

const int HSA_CODE_BASE = 0x18000ll
static

Definition at line 120 of file qstruct.hh.

◆ HSAQ_BASE

const int HSAQ_BASE = 0x11000ll
static

Definition at line 118 of file qstruct.hh.

◆ HSAQ_INDX_BASE

const int HSAQ_INDX_BASE = 0x10000ll
static

Definition at line 116 of file qstruct.hh.

◆ HSAQ_NQUEUES

const int HSAQ_NQUEUES = 8
static

Definition at line 108 of file qstruct.hh.

◆ HSAQ_SIZE

const int HSAQ_SIZE = 64
static

Definition at line 114 of file qstruct.hh.

◆ KER_ARGS_LENGTH

const int KER_ARGS_LENGTH = 512
static

Definition at line 45 of file qstruct.hh.

◆ KER_NUM_ARGS

const int KER_NUM_ARGS = 32
static

Definition at line 43 of file qstruct.hh.


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13