Skip to content
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 test suite #327

Merged
merged 7 commits into from
May 22, 2024
Merged

add test suite #327

merged 7 commits into from
May 22, 2024

Conversation

tjjfvi
Copy link
Contributor

@tjjfvi tjjfvi commented May 21, 2024

  • added a test suite that automatically tests every HVM file in examples/ and tests/programs/ across all enabled runtimes
  • added a CI workflow to build & test every push to a PR
  • adjusted all of the examples/ programs to run in a reasonable amount of time by default
  • fixed several bugs uncovered in testing:
    • fixed C/CUDA implementation of I24
    • fixed a bug with new_f24 that "rounded" some NaN patterns to 0
    • fixed C/CUDA readback of large numbers like 16777215 (which were being printed as random characters instead)

@tjjfvi tjjfvi marked this pull request as ready for review May 22, 2024 14:08
@VictorTaelin
Copy link
Member

Seems like this doesn't test the compiled versions yet, right? It should be good to add that later, as the compiled functions are a major source of bugs.

@VictorTaelin VictorTaelin merged commit 656c881 into main May 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants