Skip to content

Use in-place triangular multiplication in LARFB - #26

Merged
fda-tome merged 1 commit into
mainfrom
jps/larfb-inplace-rmul
Nov 26, 2026
Merged

fda-tome merged 1 commit into
mainfrom
jps/larfb-inplace-rmul

Conversation

@jpsamaroo

Copy link
Copy Markdown
Collaborator

Use rmul! for the in-place QR workspace update. All 184 Dagger QR assertions passed on the failing Julia nightly.

Related: JuliaParallel/Dagger.jl#797

Written by Codex

The workspace is both the input and output of each triangular product. Use rmul! to express the in-place operation explicitly, because Julia 1.15 nightlies can reject aliased mul! outputs.

With preallocated workspace after 12 warmup calls and GC, the minimum of ten Base.gc_num() deltas stayed at 0 allocations and 0 bytes for both Float64 and ComplexF64 on Julia 1.14.0-beta1 (128 by 96 destination, 32 reflectors).
@fda-tome
fda-tome merged commit 54ec3d6 into main Nov 26, 2026
2 of 3 checks passed
@jpsamaroo
jpsamaroo deleted the jps/larfb-inplace-rmul branch November 26, 2026 20:09
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