summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.h
diff options
context:
space:
mode:
authorTayler Hetherington <[email protected]>2012-10-15 14:49:25 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:21 -0700
commit1ade3b340c72f65fe01735df0748e13d4c026998 (patch)
tree126380106a0d7793b321d36f9964b2a21cb9cd30 /src/gpgpu-sim/gpu-cache.h
parent6dfa8ae94d4497ad6b026eb2ce9ba8926566353e (diff)
- Fixing cache configuration groupings -> Now <cache configs>, <cache policies>, <MSHR>, <Miss queue/FIFO sizing>
- Fixing default configurations to match the new format and additonal parameters - Fixing Fermi's 48kB cache configuration [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14370]
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
-rw-r--r--src/gpgpu-sim/gpu-cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h
index bbf62b6..4516e34 100644
--- a/src/gpgpu-sim/gpu-cache.h
+++ b/src/gpgpu-sim/gpu-cache.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009-2011, Tor M. Aamodt
+// Copyright (c) 2009-2011, Tor M. Aamodt, Tayler Hetherington
// The University of British Columbia
// All rights reserved.
//
@@ -131,9 +131,9 @@ public:
assert( m_config_string );
char rp, wp, ap, mshr_type, wap;
- int ntok = sscanf(m_config_string,"%u:%u:%u:%c:%c:%c:%c:%c:%u:%u:%u:%u",
- &m_nset, &m_line_sz, &m_assoc, &rp, &wp, &ap,
- &mshr_type, &wap, &m_mshr_entries,&m_mshr_max_merge,
+ int ntok = sscanf(m_config_string,"%u:%u:%u,%c:%c:%c:%c,%c:%u:%u,%u:%u",
+ &m_nset, &m_line_sz, &m_assoc, &rp, &wp, &ap, &wap,
+ &mshr_type, &m_mshr_entries,&m_mshr_max_merge,
&m_miss_queue_size,&m_result_fifo_entries);
if ( ntok < 10 ) {