Mahyar Samani has submitted this change. (
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
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52903
Reviewed-by: Jason Lowe-Power <[email protected]>
Reviewed-by: Gabe Black <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/cpu/testers/traffic_gen/gups_gen.hh
1 file changed, 19 insertions(+), 1 deletion(-)
Approvals:
Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
Gabe Black: Looks good to me, but someone else must approve
kokoro: Regressions pass
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: 2
Gerrit-Owner: Mahyar Samani <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Mahyar Samani <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s