Hoa Nguyen has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/69839?usp=email )

Change subject: stdlib: Assign the workload to the non-starting cores
......................................................................

stdlib: Assign the workload to the non-starting cores

This causes problems at instantiation time where gem5 couldn't find
the workload for the non-starting cores.

Change-Id: Ibd4f8985100a0ceb3339135a6a454f37403f587c
Signed-off-by: Hoa Nguyen <hoangu...@ucdavis.edu>
---
M src/python/gem5/components/boards/se_binary_workload.py
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/src/python/gem5/components/boards/se_binary_workload.py b/src/python/gem5/components/boards/se_binary_workload.py
index 98fe840..a88e25c 100644
--- a/src/python/gem5/components/boards/se_binary_workload.py
+++ b/src/python/gem5/components/boards/se_binary_workload.py
@@ -114,6 +114,9 @@

         for core in self.get_processor().get_cores():
             core.set_workload(process)
+        if self.get_processor().is_switchable():
+            for core in self.get_processor().get_switch_to_cores():
+                core.set_workload(process)

         # Set whether to exit on work items for the se_workload
         self.exit_on_work_items = exit_on_work_items

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/69839?usp=email 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: Ibd4f8985100a0ceb3339135a6a454f37403f587c
Gerrit-Change-Number: 69839
Gerrit-PatchSet: 1
Gerrit-Owner: Hoa Nguyen <hoangu...@ucdavis.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to