summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authoraamir <[email protected]>2018-11-02 21:37:31 -0700
committeraamir <[email protected]>2018-11-02 21:37:31 -0700
commit8db50a319911b803a386a7d7eca10afbea4d7e75 (patch)
tree95d2f732c362a6400d5a36c5858c39b6c4735242 /src/abstract_hardware_model.h
parentaeb78a3dcd5613404162514e98d18ee9dbf31569 (diff)
added incount and outcount, addressed all of the pull request comments
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index f561f34..71d3d89 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -36,6 +36,10 @@ class kernel_info_t;
#define MAX_CTA_PER_SHADER 32
#define MAX_BARRIERS_PER_CTA 16
+//After expanding the vector input and output operands
+#define MAX_INPUT_VALUES 24
+#define MAX_OUTPUT_VALUES 8
+
enum _memory_space_t {
undefined_space=0,
reg_space,
@@ -830,7 +834,9 @@ public:
address_type reconvergence_pc; // -1 => not a branch, -2 => use function return address
unsigned out[8];
+ unsigned outcount;
unsigned in[24];
+ unsigned incount;
unsigned char is_vectorin;
unsigned char is_vectorout;
int pred; // predicate register number