Matthew Poremba has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/51927 )

Change subject: mem-ruby: Add missing CPUonly check for VIPER
......................................................................

mem-ruby: Add missing CPUonly check for VIPER

The CPUonly variable in MOESI_AMD_Base's Directory indicates that probes
should not be sent to any GPU SLICC controllers as they are not part of
CPU. There is one CPUonly check missing which causes problems in
GPU-only Ruby networks as there is no route to any controllers with that
MachineType. Add a condition to check CPUonly and do nothing in that
case.

Change-Id: I41b6c04feec473e34b04402adfb5978e75b847b6
---
M src/mem/ruby/protocol/MOESI_AMD_Base-dir.sm
1 file changed, 18 insertions(+), 1 deletion(-)



diff --git a/src/mem/ruby/protocol/MOESI_AMD_Base-dir.sm b/src/mem/ruby/protocol/MOESI_AMD_Base-dir.sm
index 0138db3..9ae66c5 100644
--- a/src/mem/ruby/protocol/MOESI_AMD_Base-dir.sm
+++ b/src/mem/ruby/protocol/MOESI_AMD_Base-dir.sm
@@ -655,7 +655,8 @@
         out_msg.Destination.broadcast(MachineType:CorePair);

         // add relevant TCC node to list. This replaces all TCPs and SQCs
-        if (noTCCdir) {
+        if (CPUonly) {
+        } else if (noTCCdir) {
out_msg.Destination.add(mapAddressToRange(address,MachineType:TCC, TCC_select_low_bit, TCC_select_num_bits));
         } else {

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51927
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: I41b6c04feec473e34b04402adfb5978e75b847b6
Gerrit-Change-Number: 51927
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew Poremba <matthew.pore...@amd.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to