diff options
| author | aamir <[email protected]> | 2018-05-30 23:07:44 -0700 |
|---|---|---|
| committer | aamir <[email protected]> | 2018-05-30 23:07:44 -0700 |
| commit | fa0089a5d3a86ef348fae9a83a862f5219892bab (patch) | |
| tree | 72a2b80c81ce115d1c1cad7ecc965784d427f70d /src/cuda-sim/ptx_ir.h | |
| parent | 5b1ba75a3d5d02fbc12b5218abaaae4fcf2b5c2d (diff) | |
adding code for wmma_ld_impl, error at decode space
Diffstat (limited to 'src/cuda-sim/ptx_ir.h')
| -rw-r--r-- | src/cuda-sim/ptx_ir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx_ir.h b/src/cuda-sim/ptx_ir.h index 833f175..16cc975 100644 --- a/src/cuda-sim/ptx_ir.h +++ b/src/cuda-sim/ptx_ir.h @@ -1078,7 +1078,7 @@ public: int membar_level() const { return m_membar_level; } bool has_memory_read() const { - if( m_opcode == LD_OP || m_opcode == LDU_OP || m_opcode == TEX_OP ) + if( m_opcode == LD_OP || m_opcode == LDU_OP || m_opcode == TEX_OP|| m_opcode==MMA_LD_OP) return true; // Check PTXPlus operand type below // Source operands are memory operands @@ -1090,7 +1090,7 @@ public: return false; } bool has_memory_write() const { - if( m_opcode == ST_OP ) return true; + if( m_opcode == ST_OP || m_opcode==MMA_ST_OP ) return true; // Check PTXPlus operand type below // Destination operand is a memory operand ptx_instruction::const_iterator op=op_iter_begin(); |
