Changes to support integrating MAP simulations as components in some larger simulation #534
VictorYing
started this conversation in
Ideas
Replies: 1 comment
-
Hi Victor! Thanks for the questions. First, that's exciting to see a potential integration with frameworks (other than SystemC) like SST. I know the MEEP project did something like this with SST, but not sure where it ended up. Yes! We are always open to accepting patches that improve the framework. We have some simple rules that we require folks follow; Rule #1 being the most critical. 😁 Bring them on over! Regarding the other enhancements:
Please prepare a PR for each of those enhancements. BTW, I opened a discussion for map_v3 if you're interested in adding your complain... er... suggestions. #509 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Sparta/MAP developers, we have an existing perf model code base that uses Sparta/MAP, and we've been exploring how we can integrate one or more instances of that into larger system simulation together with other components modeled using another framework such as SST.
Would you be open to accepting patches to make it easier for perf modelers to instantiate multiple concurrent
Simulation
s andScheduler
s, possibly in multiple threads? We have some initial working experiments that demonstrate it is possible to bypass (or, inherit from and override parts of)sparta::app::CommandLineSimulator
as a means to construct and control multiple co-existingsparta::Scheduler
instances. Along the way we found some changes we want to make within the Sparta/MAP framework that we believe should not impose noticeable overhead or complexity, such as:sparta::app::Simulation
could have an option to not register any signal handler in the constructor, in order to integrate with a larger framework that may prefer to register its own handlersTriggerManager
needn't be a global singleton, for example eachScheduler
instance can own aTriggerManager
instance, or perhaps we could have a singleTriggerManager
instance per thread.We're open to suggestions for how we can best contribute our changes back upstream to this repository.
Beta Was this translation helpful? Give feedback.
All reactions