summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.h
diff options
context:
space:
mode:
authorNick <[email protected]>2019-09-13 08:02:14 -0400
committerNick <[email protected]>2019-09-13 08:02:14 -0400
commitf2aa87a330dc68207088bf60828376f9fa454d72 (patch)
treec329fe2a9b754de23acc8dc99e9d3e5d44139e1d /src/gpgpu-sim/gpu-cache.h
parenta34a4baad45a40840308167307c79371b4024a9d (diff)
Seems like multiple passes for reformatting comments
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
-rw-r--r--src/gpgpu-sim/gpu-cache.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h
index 647ed7a..d4bc9b4 100644
--- a/src/gpgpu-sim/gpu-cache.h
+++ b/src/gpgpu-sim/gpu-cache.h
@@ -547,13 +547,14 @@ class cache_config {
}
if (m_alloc_policy == STREAMING) {
// For streaming cache, we set the alloc policy to be on-fill to remove
- // all line_alloc_fail stalls we set the MSHRs to be equal to max allocated
- // cache lines. This is possible by moving TAG to be shared between cache
- // line and MSHR enrty (i.e. for each cache line, there is an MSHR rntey
- // associated with it) This is the easiest think we can think about to
- // model (mimic) L1 streaming cache in Pascal and Volta Based on our
- // microbenchmakrs, MSHRs entries have been increasing substantially in
- // Pascal and Volta For more information about streaming cache, see:
+ // all line_alloc_fail stalls we set the MSHRs to be equal to max
+ // allocated cache lines. This is possible by moving TAG to be shared
+ // between cache line and MSHR enrty (i.e. for each cache line, there is
+ // an MSHR rntey associated with it) This is the easiest think we can
+ // think about to model (mimic) L1 streaming cache in Pascal and Volta
+ // Based on our microbenchmakrs, MSHRs entries have been increasing
+ // substantially in Pascal and Volta For more information about streaming
+ // cache, see:
// http://on-demand.gputechconf.com/gtc/2017/presentation/s7798-luke-durant-inside-volta.pdf
// https://ieeexplore.ieee.org/document/8344474/
m_is_streaming = true;
@@ -1303,9 +1304,9 @@ class baseline_cache : public cache_t {
const cache_config &m_config;
int m_data_port_occupied_cycles; //< Number of cycle that the data port
- //remains used
+ // remains used
int m_fill_port_occupied_cycles; //< Number of cycle that the fill port
- //remains used
+ // remains used
};
bandwidth_management m_bandwidth_management;