summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.h
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.h
parent0785ce7c9471bf1a0c70500eb60cb293fb5aa2fa (diff)
fixing reformatting
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
-rw-r--r--src/gpgpu-sim/gpu-cache.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h
index 7554b3f..2a37876 100644
--- a/src/gpgpu-sim/gpu-cache.h
+++ b/src/gpgpu-sim/gpu-cache.h
@@ -677,9 +677,8 @@ class cache_config {
assert(m_valid);
return MAX_DEFAULT_CACHE_SIZE_MULTIBLIER * m_nset * original_m_assoc;
}
- unsigned get_max_assoc() const
- {
- assert( m_valid );
+ unsigned get_max_assoc() const {
+ assert(m_valid);
return MAX_DEFAULT_CACHE_SIZE_MULTIBLIER * original_m_assoc;
}
void print(FILE *fp) const {