diff options
| author | negargoli93 <[email protected]> | 2018-08-16 15:20:07 -0700 |
|---|---|---|
| committer | negargoli93 <[email protected]> | 2018-08-16 15:20:07 -0700 |
| commit | 9e7cd8867d76fb99eadfadfa09947ff057d012d3 (patch) | |
| tree | c2808a60fadd28d00b2f474a04be8efc89c94aca /src/cuda-sim/ptx_ir.h | |
| parent | cdd42ac0384cb31bcee05ac72d026f1bc8133d26 (diff) | |
Timing model for VCORE
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 cb4556e..e025013 100644 --- a/src/cuda-sim/ptx_ir.h +++ b/src/cuda-sim/ptx_ir.h @@ -1093,7 +1093,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|| m_opcode==MMA_LD_OP) + if( m_opcode == LD_OP || m_opcode == LDU_OP || m_opcode == TEX_OP|| m_opcode==MMA_LD_OP || m_opcode==VP_LD_OP) return true; // Check PTXPlus operand type below // Source operands are memory operands @@ -1105,7 +1105,7 @@ public: return false; } bool has_memory_write() const { - if( m_opcode == ST_OP || m_opcode==MMA_ST_OP ) return true; + if( m_opcode == ST_OP || m_opcode==MMA_ST_OP || m_opcode==VP_ST_OP ) return true; // Check PTXPlus operand type below // Destination operand is a memory operand ptx_instruction::const_iterator op=op_iter_begin(); |
