Closed jerryz123 closed 3 years ago
Do you want to add this to make the CI tests run faster?
Yeah, these are used for the gemmini automatic tests
But if they're running automatically anyway, then what's wrong with them taking a few hours?
They time-out on the CI machines.
Looks good to me overall. Just not sure if we need the "ifdef FAST exit(0)" lines.
This PR modifies the tests to run much faster when the
-DFAST
flag is passed to gcc. The FAST flag generally reduces the size of the inputs, replaces calls torand()
with constants, and avoids calling the slow CPU versions of various functions.Additionally, make rules for running the tests are added.