summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron M Barnes <[email protected]>2023-06-08 15:38:30 -0400
committerAaron M Barnes <[email protected]>2023-06-08 15:38:30 -0400
commitff35ae9bf8bbc05409011db58497a40e0794b2a2 (patch)
treeb69ebc3c01042c802baf26e4889dd2af41fdb093
parent8d2671ae6545a7bb01d94be7f2204673f42402f8 (diff)
shared mem bank conflicts
-rw-r--r--src/gpgpu-sim/shader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc
index 4013ae9..ca26abb 100644
--- a/src/gpgpu-sim/shader.cc
+++ b/src/gpgpu-sim/shader.cc
@@ -1880,6 +1880,7 @@ bool ldst_unit::shared_cycle(warp_inst_t &inst, mem_stage_stall_type &rc_fail,
if (stall) {
fail_type = S_MEM;
rc_fail = BK_CONF;
+ m_stats->gpgpu_n_shmem_bkconflict++;
} else
rc_fail = NO_RC_FAIL;
return !stall;
@@ -1977,6 +1978,7 @@ mem_stage_stall_type ldst_unit::process_memory_access_queue_l1cache(
inst.accessq_pop_back();
} else {
result = BK_CONF;
+ m_stats->gpgpu_n_cache_bkconflict++;
delete mf;
break; // do not try again, just break from the loop and try the next
// cycle