From 242f3fd369f6ea3f0e808dd5d6446a294e63d9aa Mon Sep 17 00:00:00 2001 From: negargoli Date: Thu, 16 Aug 2018 17:25:19 -0700 Subject: add latency --- src/cuda-sim/cuda-sim.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/cuda-sim') diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index 1ad12ee..bcf64c4 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -804,18 +804,18 @@ void ptx_instruction::set_opcode_and_latency() case VP_MMA_OP: if(get_wmma_type()==VP_MMA4) { - latency = 5; - initiation_interval = 5; + latency = 64; + initiation_interval = 64; } if(get_wmma_type()==VP_MMA8) { - latency = 5; - initiation_interval = 5; + latency = 128; + initiation_interval = 128; } if(get_wmma_type()==VP_MMA16) { - latency = 5; - initiation_interval = 5; + latency = 256; + initiation_interval = 256; } op=VP_CORE_OP; op=VP_CORE_OP; -- cgit v1.3