gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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

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

Definition at line 124 of file qstruct.hh.

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

Definition at line 128 of file qstruct.hh.

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

Definition at line 126 of file qstruct.hh.

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

Definition at line 127 of file qstruct.hh.

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

Definition at line 125 of file qstruct.hh.

Variable Documentation

const int HSA_CODE_BASE = 0x18000ll
static

Definition at line 120 of file qstruct.hh.

const int HSAQ_BASE = 0x11000ll
static

Definition at line 118 of file qstruct.hh.

const int HSAQ_INDX_BASE = 0x10000ll
static

Definition at line 116 of file qstruct.hh.

const int HSAQ_NQUEUES = 8
static

Definition at line 108 of file qstruct.hh.

const int HSAQ_SIZE = 64
static

Definition at line 114 of file qstruct.hh.

const int KER_ARGS_LENGTH = 512
static

Definition at line 45 of file qstruct.hh.

const int KER_NUM_ARGS = 32
static

Definition at line 43 of file qstruct.hh.


Generated on Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6