summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authoraamir <[email protected]>2018-11-05 10:35:07 -0800
committeraamir <[email protected]>2018-11-05 10:35:07 -0800
commita73e15af1f1f075600fa616e1da8f3e267d27bfa (patch)
treed8c5cf94f2991c5f6ddb4df55891ea88229991eb /src/cuda-sim
parentfc5b0f3c86da841d4e8a47e6d26e45de7a761554 (diff)
demorgan law error
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/cuda-sim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc
index 87a0b9c..c9ac8cb 100644
--- a/src/cuda-sim/cuda-sim.cc
+++ b/src/cuda-sim/cuda-sim.cc
@@ -1298,7 +1298,7 @@ static unsigned get_tex_datasize( const ptx_instruction *pI, ptx_thread_info *th
int tensorcore_op(int inst_opcode){
- if((inst_opcode==MMA_OP)&&(inst_opcode==MMA_LD_OP)&&(inst_opcode==MMA_ST_OP))
+ if((inst_opcode==MMA_OP)||(inst_opcode==MMA_LD_OP)||(inst_opcode==MMA_ST_OP))
return 1;
else
return 0;