Skip to content

Conversation

@tomsmeding
Copy link
Member

@tomsmeding tomsmeding commented Nov 20, 2025

Linked to AccelerateHS/accelerate-llvm#112, must be merged at the same time

Description
The runQ function in the backends was not tested; this PR allows it to be. The actual tests live in the backends, not here, because of staging issues: the test must use runQ at compile time, and runQ is only available when the backend is actually built. Thus we can not do much better than defining the entire test in the backend and then passing the TestTree into accelerate to be included in the NoFib test suite.

It would be possible to move most of the RunQ test file into accelerate proper and have just a little delegation module in the backends that does the actual runQ calls. However, because this test is currently tiny, I didn't think this was worth the effort and additional indirection. What do you think?

How has this been tested?
The tests have been tested by running them.

@ivogabe ivogabe merged commit 2f3fee5 into master Nov 25, 2025
86 checks passed
@tomsmeding tomsmeding deleted the test-runq branch November 25, 2025 20:58
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