-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FAST CI versions of tests #9
Conversation
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. |
bareMetalC/tiled_matmul_cpu.c
Outdated
@@ -91,6 +91,10 @@ int main() { | |||
} | |||
#endif | |||
|
|||
#ifdef FAST | |||
exit(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just not run these tests, instead of adding an early exit here?
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.