diff options
Diffstat (limited to 'src/gpu-compute/compute_unit.hh')
-rw-r--r-- | src/gpu-compute/compute_unit.hh | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/gpu-compute/compute_unit.hh b/src/gpu-compute/compute_unit.hh index f47c27a0a..a234cbeb5 100644 --- a/src/gpu-compute/compute_unit.hh +++ b/src/gpu-compute/compute_unit.hh @@ -161,22 +161,8 @@ class ComputeUnit : public MemObject // if fixed-stride prefetching, this is the stride. int prefetchStride; - class LastVaddrWave - { - public: - Addr vaddrs[VSZ]; - Addr& operator[](int idx) { - return vaddrs[idx]; - } - - LastVaddrWave() { - for (int i = 0; i < VSZ; ++i) - vaddrs[i] = 0; - } - }; - - LastVaddrWave lastVaddrCU; - std::vector<LastVaddrWave> lastVaddrPhase; + std::vector<Addr> lastVaddrCU; + std::vector<std::vector<Addr>> lastVaddrSimd; std::vector<std::vector<std::vector<Addr>>> lastVaddrWF; Enums::PrefetchType prefetchType; EXEC_POLICY exec_policy; |