summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-09-23 13:24:17 -0400
committerMahmoud <[email protected]>2019-09-23 13:24:17 -0400
commitcaea1a724ebd32a9c11e2af25e79862f84baf9d6 (patch)
tree156f3b64414a0a8cf6a6619852c392ad80c77d6e /src/gpgpu-sim/gpu-cache.cc
parent0785ce7c9471bf1a0c70500eb60cb293fb5aa2fa (diff)
fixing reformatting
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.cc')
-rw-r--r--src/gpgpu-sim/gpu-cache.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc
index 5cdeeb1..af22c4c 100644
--- a/src/gpgpu-sim/gpu-cache.cc
+++ b/src/gpgpu-sim/gpu-cache.cc
@@ -59,9 +59,9 @@ const char *cache_fail_status_str(enum cache_reservation_fail_reason status) {
}
unsigned l1d_cache_config::set_bank(new_addr_type addr) const {
- //For sector cache, we select one sector per bank (sector interleaving)
- //This is what was found in Volta (one sector per bank, sector interleaving)
- //otherwise, line interleaving
+ // For sector cache, we select one sector per bank (sector interleaving)
+ // This is what was found in Volta (one sector per bank, sector interleaving)
+ // otherwise, line interleaving
if (m_cache_type == SECTOR)
return (addr >> m_sector_sz_log2) & (l1_banks - 1);
else