Repository navigation
Reorganise tlr tests docs - #24
Closed
AkhilAkkapelli wants to merge 3 commits into
Closed
AkhilAkkapelli wants to merge 3 commits into
AkhilAkkapelli wants to merge 3 commits into
Conversation
…le; fixes for nightly, larfb! aliasing and the mixed-precision containers on the GPU Co-authored-by: Alessandro <axelcar482@gmail.com>
…r src/, --backends option, tests for the mixed-precision containers and TLR
…ed precision, tile low-rank, benchmarks), API reference organised like src/, CONTRIBUTING, CITATION; move the poster and handout to docs/src/assets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR builds on #23 (
mxp-corrections) and is opened against that branch, so the diff shows only the new work. Once #23 is merged, the base will be changed tomain.Summary
Three commits, one per area:
src/reorganised by family, the tile low-rank module added, and fixes for Julia nightly and for mixed precision on the GPU.test/layout mirroringsrc/.1. Code (
src/,ext/,Project.toml)New layout. Files were moved, and include paths updated:
Tile low-rank (
NextLA.TileLowRank). This is the TLR work fromalecarraro-dev:TLRMatrixandCompressedFTLRMatrix;maxrank/tol/rel;NextLA.gemm!,NextLA.gemm), with workspace helpers and tile queries (ranks,get_factors,residuals, …);ext/*/svd.jl.It runs on the CPU and on CUDA arrays. Two fixes on top of the branch:
maxrankin Float64.Fixes:
transpose(A)instead ofTranspose(A)in the triangular kernels, andrmul!instead of an aliasedmul!inlarfb!.larfb!:Base.unaliasbefore the in-place multiplies (left-side branch).SymmMixedPrec,TriMixedPrec, …) can now be built from GPU arrays. Theirreconstruct_matrixalso works on GPU blocks.Removed:
lauu2!andlauum!, which nothing insrc/called;trapezoidal.jl(tral,trau, the*Trapezoidaltypes).These names are no longer exported.
Project.toml:
julia = "1.10", raised from 1.9 (CI tests 1.10 and nightly, and ParallelTestRunner needs 1.10);test/Project.toml.2. Tests (
test/)test/Project.toml). Tests are run by ParallelTestRunner, one process per file.test/dense/blas/syrk/…), with shared helpers intest/setup/.--backends.test/README.mdexplains how to run all or some of the tests, on the CPU or a GPU:3. Documentation (
docs/, root.mdfiles)src/. Every user-facing docstring has a tested# Examplesblock, and each page ends with longer usage examples (power-of-two sizes, 1024 and up).CONTRIBUTING.md(repository layout and modules), Running the tests (fromtest/README.md), and the TODO.CITATION.mdandCITATION.cff.handout.pngand the HPEC poster moved todocs/src/assets/..travis.yml(CI is GitHub Actions);docs/src/mixed_precision.md(replaced by the Manual page);docs/src/index.md, which is now generated bymake.jland git-ignored.The docs build passes with every doctest.
Testing
Julia 1.10.14, 1.13.4 and nightly (1.15.0-DEV), on the CPU and with CUDA (NVIDIA GB10), one thread per test process.
Results by area:
The runs were made on frozen copies of the tree as each part was finished.
A single full run on the final tree of this branch is still to do. I'll post its results here.
Not in this PR
lartgfix, threaded-routine synchronisation,src/mxpclean-ups) and the block-scaling variants. They will follow in separate PRs.NextLA.trmmabove 16 rows, the complexsyrk!with'C', and TLR rank over-estimation in Float32). They are tracked separately.Credits
The TLR module is by Alessandro Carraro (
alecarraro-dev), credited as co-author on the code commit.