Mahyar Samani has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/52903 )

Change subject: cpu: Change GUPSGen::memSize to uint64_t
......................................................................

cpu: Change GUPSGen::memSize to uint64_t

This change changes the type for GUPSGen::memSize to uint64_t.
Previously uint32_t was used that would overflow for memories
bigger than 4GB.

Change-Id: I45d992b166a0dee2322c03e40beef1eee73e1855
---
M src/cpu/testers/traffic_gen/gups_gen.hh
1 file changed, 14 insertions(+), 1 deletion(-)



diff --git a/src/cpu/testers/traffic_gen/gups_gen.hh b/src/cpu/testers/traffic_gen/gups_gen.hh
index fa7b336..f33f7da 100644
--- a/src/cpu/testers/traffic_gen/gups_gen.hh
+++ b/src/cpu/testers/traffic_gen/gups_gen.hh
@@ -256,7 +256,7 @@
     /**
* @brief Size of the memory in bytes that will be allocated for the array.
      */
-    const uint32_t memSize;
+    const uint64_t memSize;

     /**
      * @brief The number of updates to do before creating an exit event.

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/52903
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I45d992b166a0dee2322c03e40beef1eee73e1855
Gerrit-Change-Number: 52903
Gerrit-PatchSet: 1
Gerrit-Owner: Mahyar Samani <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to