summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authornegargoli <[email protected]>2018-08-16 17:25:19 -0700
committernegargoli <[email protected]>2018-08-16 17:25:19 -0700
commit242f3fd369f6ea3f0e808dd5d6446a294e63d9aa (patch)
tree3d014ba370ffb09096f619d4c86af2c81f48b30d /src/cuda-sim
parent9e7cd8867d76fb99eadfadfa09947ff057d012d3 (diff)
add latency
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/cuda-sim.cc12
1 files changed, 6 insertions, 6 deletions
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;