Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
*.jl.cov
*.jl.mem
/Manifest.toml
/test/Manifest.toml
/docs/Manifest.toml
/docs/build/
/docs/src/citing.md
/docs/src/dev/contributing.md
/docs/src/dev/testing.md
/docs/src/index.md
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

125 changes: 125 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
cff-version: 1.2.0
message: "If you use NextLA.jl in your research, please cite it as below."
title: "NextLA.jl"
abstract: >-
Hardware-agnostic, datatype-flexible dense linear algebra in pure Julia:
recursive GEMM, TRSM, SYRK, Cholesky and LU, tiled QR kernels, GPU backends
through package extensions, and mixed-precision factorizations.
type: software
license: MIT
repository-code: "https://github.com/NextLinearAlgebra/NextLA.jl"
url: "https://nextlinearalgebra.github.io/NextLA.jl"
keywords:
- julia
- linear algebra
- GPU
- mixed precision
- BLAS
- LAPACK
authors:
- given-names: Rabab
family-names: Alomairy
- given-names: Evelyne
family-names: Ringoot
- given-names: Sophie
family-names: Xuan
- given-names: Vicki
family-names: Carrica
- given-names: Maxwell
family-names: Onyango
- given-names: Julian
family-names: Samaroo
- given-names: Felipe
family-names: Tome
preferred-citation:
type: conference-paper
title: "Synthesizing Numerical Linear Algebra using Julia"
authors:
- given-names: Sophie
family-names: Xuan
- given-names: Evelyne
family-names: Ringoot
- given-names: Rabab
family-names: Alomairy
- given-names: Felipe
family-names: Tome
- given-names: Julian
family-names: Samaroo
- given-names: Alan
family-names: Edelman
collection-title: "2024 IEEE High Performance Extreme Computing Conference (HPEC)"
publisher:
name: IEEE
year: 2024
url: "https://ieee-hpec.org/wp-content/uploads/2025/01/161.pdf"
references:
- type: conference-paper
title: "Toward Portable GPU Performance: Julia Recursive Implementation of TRMM and TRSM"
authors:
- given-names: Vicki
family-names: Carrica
- given-names: Maxwell
family-names: Onyango
- given-names: Rabab
family-names: Alomairy
- given-names: Evelyne
family-names: Ringoot
- given-names: James
family-names: Schloss
- given-names: Alan
family-names: Edelman
collection-title: "Asynchronous Many-Task Systems and Applications (WAMTA)"
publisher:
name: Springer Nature
year: 2025
doi: "10.1007/978-3-031-97196-9_13"
- type: conference-paper
title: "Hierarchical Recursive Precision for Accelerating Symmetric Linear Solves on MXUs"
authors:
- given-names: Vicki
family-names: Carrica
- given-names: Rabab
family-names: Alomairy
- given-names: Evelyne
family-names: Ringoot
- given-names: Alan
family-names: Edelman
collection-title: "Euro-Par 2026: Parallel Processing"
publisher:
name: Springer Nature
start: 451
end: 465
year: 2026
doi: "10.1007/978-3-032-35248-4_31"
- type: conference-paper
title: "Performant Unified GPU Kernels for Portable Singular Value Computation Across Hardware and Precision"
authors:
- given-names: Evelyne
family-names: Ringoot
- given-names: Rabab
family-names: Alomairy
- given-names: Valentin
family-names: Churavy
- given-names: Alan
family-names: Edelman
collection-title: "Proceedings of the 54th International Conference on Parallel Processing (ICPP '25)"
publisher:
name: ACM
year: 2025
doi: "10.1145/3754598.3754667"
- type: conference-paper
title: "Accelerating Bidiagonalization of Banded Matrices through Memory-Aware Bulge-Chasing on GPUs"
authors:
- given-names: Evelyne
family-names: Ringoot
- given-names: Rabab
family-names: Alomairy
- given-names: Alan
family-names: Edelman
collection-title: "ISC High Performance 2026 Research Paper Proceedings (41st International Conference)"
publisher:
name: IEEE
start: 1
end: 14
year: 2026
doi: "10.23919/isc.2026.11520476"
103 changes: 103 additions & 0 deletions CITATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Citing NextLA

If you use NextLA.jl in your research, please cite:

> **[1]** S. Xuan, E. Ringoot, R. Alomairy, F. Tome, J. Samaroo, and A. Edelman, "Synthesizing Numerical
> Linear Algebra using Julia," in *2024 IEEE High Performance Extreme Computing Conference (HPEC)*,
> IEEE, 2024.
>
> Available: <https://ieee-hpec.org/wp-content/uploads/2025/01/161.pdf>

```bibtex
@inproceedings{nextla1,
title={{Synthesizing Numerical Linear Algebra using Julia}},
author={Xuan, Sophie and Ringoot, Evelyne and Alomairy, Rabab and Tome, Felipe and Samaroo, Julian and Edelman, Alan},
booktitle={2024 IEEE High Performance Extreme Computing Conference (HPEC)},
year={2024},
publisher={IEEE},
url={https://ieee-hpec.org/wp-content/uploads/2025/01/161.pdf}
}
```

Poster, IEEE HPEC 2024:

[![Synthesizing Numerical Linear Algebra using Julia, poster](docs/src/assets/ieee_hpec_poster.png)](docs/src/assets/ieee_hpec_poster.pdf)

> **[2]** V. Carrica, M. Onyango, R. Alomairy, E. Ringoot, J. Schloss, and A. Edelman, "Toward Portable
> GPU Performance: Julia Recursive Implementation of TRMM and TRSM," in *Asynchronous Many-Task Systems
> and Applications (WAMTA)*, Springer Nature, 2025.
>
> doi: [10.1007/978-3-031-97196-9_13](https://doi.org/10.1007/978-3-031-97196-9_13)

```bibtex
@inproceedings{nextla2,
title={{Toward Portable GPU Performance: Julia Recursive Implementation of TRMM and TRSM}},
author={Carrica, Vicki and Onyango, Maxwell and Alomairy, Rabab and Ringoot, Evelyne and Schloss, James and Edelman, Alan},
booktitle={Asynchronous Many-Task Systems and Applications (WAMTA)},
year={2025},
publisher={Springer Nature},
doi={10.1007/978-3-031-97196-9_13}
}
```

## Related publications

Work by the NextLA authors on algorithms that NextLA implements.

> **[3]** V. Carrica, R. Alomairy, E. Ringoot, and A. Edelman, "Hierarchical Recursive Precision for
> Accelerating Symmetric Linear Solves on MXUs," in *Euro-Par 2026: Parallel Processing*, Lecture Notes in
> Computer Science, Springer Nature, 2026, pp. 451–465.
>
> doi: [10.1007/978-3-032-35248-4_31](https://doi.org/10.1007/978-3-032-35248-4_31)
>
> Also available as [arXiv:2601.08082](https://arxiv.org/abs/2601.08082)

```bibtex
@inproceedings{carrica2026hierarchical,
title={{Hierarchical Recursive Precision for Accelerating Symmetric Linear Solves on MXUs}},
author={Carrica, Vicki and Alomairy, Rabab and Ringoot, Evelyne and Edelman, Alan},
booktitle={Euro-Par 2026: Parallel Processing},
series={Lecture Notes in Computer Science},
pages={451--465},
year={2026},
publisher={Springer Nature},
doi={10.1007/978-3-032-35248-4_31}
}
```

> **[4]** E. Ringoot, R. Alomairy, V. Churavy, and A. Edelman, "Performant Unified GPU Kernels for
> Portable Singular Value Computation Across Hardware and Precision," in *Proceedings of the 54th
> International Conference on Parallel Processing (ICPP '25)*, ACM, 2025.
>
> doi: [10.1145/3754598.3754667](https://doi.org/10.1145/3754598.3754667)

```bibtex
@inproceedings{ringoot2025performant,
title={{Performant Unified GPU Kernels for Portable Singular Value Computation Across Hardware and Precision}},
author={Ringoot, Evelyne and Alomairy, Rabab and Churavy, Valentin and Edelman, Alan},
booktitle={Proceedings of the 54th International Conference on Parallel Processing (ICPP '25)},
year={2025},
publisher={ACM},
doi={10.1145/3754598.3754667}
}
```

> **[5]** E. Ringoot, R. Alomairy, and A. Edelman, "Accelerating Bidiagonalization of Banded Matrices
> through Memory-Aware Bulge-Chasing on GPUs," in *ISC High Performance 2026 Research Paper Proceedings
> (41st International Conference)*, IEEE, 2026, pp. 1–14.
>
> doi: [10.23919/isc.2026.11520476](https://doi.org/10.23919/isc.2026.11520476)
>
> Also available as [arXiv:2510.12705](https://arxiv.org/abs/2510.12705)

```bibtex
@inproceedings{ringoot2026accelerating,
title={{Accelerating Bidiagonalization of Banded Matrices through Memory-Aware Bulge-Chasing on GPUs}},
author={Ringoot, Evelyne and Alomairy, Rabab and Edelman, Alan},
booktitle={ISC High Performance 2026 Research Paper Proceedings (41st International Conference)},
pages={1--14},
year={2026},
publisher={IEEE},
doi={10.23919/isc.2026.11520476}
}
```
65 changes: 65 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Contributing

Contributions are welcome through pull requests on
[GitHub](https://github.com/NextLinearAlgebra/NextLA.jl).

## Repository layout

```
src/
├── NextLA.jl module entry point, includes every feature
├── streams.jl GPU streams and events (used by TLR compression)
├── dense/ dense matrices in one precision
│ ├── core/ NextLAMatrix.jl (wrapper type routing LinearAlgebra calls to NextLA)
│ ├── blas/
│ │ ├── gemm/ GEMM: extended, batched, grouped, recursive
│ │ ├── trsm/ TRSM/TRMM kernels, unified_rectrxm!, batched TRSM
│ │ ├── syrk/ SYRK: dispatch, batched, portable kernel, recursive
│ │ └── axpy.jl, gerc.jl (BLAS level 1 and 2)
│ └── lapack/
│ ├── cholesky/ potrf!, recursive, blocked and batched Cholesky
│ ├── lu/ pivoted LU (lu_pivot.jl), recursive and tiled unpivoted LU
│ ├── qr/ Householder reflectors, tile QR kernels and their PLASMA
│ │ helpers parfb, pamm, pemv (one per file)
│ └── rotations/ Givens rotations
├── mxp/ submodule NextLA.MixedPrecision
│ ├── core/ mxp.jl (module definition), the mixed-precision containers,
│ │ adaptive precision selection and quantization
│ ├── blas/ gemm/, trsm/, syrk/
│ └── lapack/ cholesky/, lu/
└── tlr/ submodule NextLA.TileLowRank (tile low-rank matrices)
├── core/ tlr.jl (module definition), TLRMatrix, CompressedFTLRMatrix,
│ compression/ (adaptive randomized approximation)
├── blas/ gemm/ (TLR GEMM into dense or compressed results)
└── lapack/ (empty for now)
ext/
├── NextLACUDAExt.jl + ext/cuda/ cuBLAS / cuSOLVER methods, streams, batched SVD
├── NextLAAMDGPUExt.jl + ext/amdgpu/ rocBLAS / rocSOLVER methods, streams, batched SVD
├── NextLAoneAPIExt.jl + ext/oneapi/ oneMKL methods
└── NextLAMetalExt.jl + ext/metal/ MPS methods
test/ mirrors src/ (dense/, mxp/, tlr/): the test for src/<path>.jl is
test/<path>.jl; shared helpers in test/setup/
docs/ this documentation (Documenter.jl)
```

How to run all or some of the tests, on the CPU or a GPU: [`test/README.md`](test/README.md).

Each of `dense/`, `mxp/` and `tlr/` has the same three folders: `core/` for the types, data
structures and module definition the rest builds on, `blas/` for BLAS-style routines and `lapack/`
for factorizations and LAPACK-style routines. Each routine-group folder has one entry file named
after the folder (`gemm/gemm.jl`, `trsm/trsm.jl`, `qr/qr.jl`, ...) that includes every other file
in it and nothing else, and `src/NextLA.jl` includes only those entry files. Exports stay in the
file that defines the symbol.

### Modules

| Module | Folder | Depends on | Loaded with |
|:------------------------|:------------|:----------------------|:--------------------------------|
| `NextLA` | `src/dense` | nothing in the others | `using NextLA` |
| `NextLA.MixedPrecision` | `src/mxp` | `NextLA` | `using NextLA.MixedPrecision` |
| `NextLA.TileLowRank` | `src/tlr` | `NextLA` | `using NextLA.TileLowRank` |

`MixedPrecision` and `TileLowRank` are submodules: they live inside `NextLA`, can use anything from it
through `..NextLA`, and are not re-exported by it. The dependency runs one way only. Code in
`src/dense` never refers to a submodule, so `NextLA` builds and works with the `include` line of a
submodule removed. TLR code lives in `src/tlr` and follows the same rule.
8 changes: 1 addition & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,4 @@ BFloat16s = "0.5, 0.6"
KernelAbstractions = "0.9.34"
LinearAlgebra = "1"
Random = "1"
julia = "1.9"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
julia = "1.10"
Loading
Loading