summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_ir.h
diff options
context:
space:
mode:
authoraamir <[email protected]>2018-06-05 12:50:57 -0700
committeraamir <[email protected]>2018-06-05 12:50:57 -0700
commit4161ccba0d4a99157afed3cdccef0e9c2a6d89e6 (patch)
tree9752d35aa66ff33923a5be8243dce2522c37029a /src/cuda-sim/ptx_ir.h
parent708031c0274a730dfd99820fd49351785a60e2d7 (diff)
added support for wmma:load_c:f16_type
Diffstat (limited to 'src/cuda-sim/ptx_ir.h')
-rw-r--r--src/cuda-sim/ptx_ir.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cuda-sim/ptx_ir.h b/src/cuda-sim/ptx_ir.h
index 6bba717..7bc7522 100644
--- a/src/cuda-sim/ptx_ir.h
+++ b/src/cuda-sim/ptx_ir.h
@@ -1025,6 +1025,9 @@ public:
unsigned get_vector() const { return m_vector_spec;}
unsigned get_atomic() const { return m_atomic_spec;}
+ int get_wmma_type() const {
+ return m_wmma_type;
+ }
int get_type() const
{
assert( !m_scalar_type.empty() );
@@ -1134,9 +1137,9 @@ private:
bool m_uni; //if branch instruction, this evaluates to true for uniform branches (ie jumps)
bool m_to_option;
unsigned m_cache_option;
- unsigned m_wmma_type;
- unsigned m_wmma_layout[2];
- unsigned m_wmma_configuration;
+ int m_wmma_type;
+ int m_wmma_layout[2];
+ int m_wmma_configuration;
unsigned m_rounding_mode;
unsigned m_compare_op;
unsigned m_saturation_mode;