SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
smaug
operators
smv
kernels
params.h
1
#ifndef _OPERATORS_SMV_KERNELS_PARAMS_H_
2
#define _OPERATORS_SMV_KERNELS_PARAMS_H_
3
4
#ifndef VECTOR_SIZE
5
#define VECTOR_SIZE 8
6
#elif VECTOR_SIZE != 8
7
#error "Existing VECTOR_SIZE is incompatible with SMV!"
8
#endif
9
10
#define NUM_MACC_INSTS 4
11
#define NUM_PE_INSTS 8
12
13
#define DATA_PE_ALIGNMENT (NUM_MACC_INSTS)*(VECTOR_SIZE)
14
15
#endif
Generated by
1.8.18