JuliaLang / JuliaLang/LinearAlgebra.jl
Parallelize LinearAlgebra/addmul test
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 77
- Forks
- 65
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
This test does a big loop over various combinations of matrix types: https://github.com/JuliaLang/julia/blob/master/stdlib/LinearAlgebra/test/addmul.jl#L134 and tries to add them together. This test takes the longest of any of the tests in the system. That loop should be fairly easy to distribute across multiple workers. Since each test runs with a different argument combination, I don't think we'd even lose anything by not caching common specializations between workers.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in stdlib/LinearAlgebra/test/addmul.jl around line 134 and inspect the loop over matrix-type combinations. Determine how the test suite distributes work across workers, then parallelize that loop while preserving all argument combinations; done means the addmul test completes successfully with the work distributed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance, testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100