diff options
| author | Mahmoud <[email protected]> | 2018-10-11 12:55:10 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-10-11 12:55:10 -0400 |
| commit | d78eab6fdc4eb9ab9e0a86088a16872c2c6f9755 (patch) | |
| tree | 8928efe30627b7f7dc5a4af77a6ffbd77012022c /src/gpgpu-sim/gpu-cache.h | |
| parent | 3d0f3691c6ccff4a912fc0fb751291a96832cd13 (diff) | |
improving the performance of cache flushing
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index 9174d7f..cd98945 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -839,6 +839,8 @@ protected: int m_core_id; // which shader core is using this int m_type_id; // what kind of cache is this (normal, texture, constant) + + bool is_used; //a flag if the whole cache has ever been accessed before }; class mshr_table { |
