harvard-acc / smaug

SMAUG: Simulating Machine Learning Applications Using Gem5-Aladdin
https://harvard-acc.github.io/smaug_docs
BSD 3-Clause "New" or "Revised" License
98 stars 27 forks source link

tests: Add simulation sweeps in CircleCI build. #70

Closed yaoyuannnn closed 4 years ago

yaoyuannnn commented 4 years ago

We previously added the support in CircirCI for downloading the latest gem5 binary from gem5-aladdin repo, but didn't actually use the downloaded binary. This invokes the SMAUG sweep generator and runs the generated sweeps using the downloaded gem5 binary.

We currently sweep the number of accelerators (1-4) and the SoC interface choices (DMA or ACP). Because our current CircleCI plan only has 4GB memory, we can only run one simulation at a time in order to not go OOM.