Skip to content

fix argument order of copyto!() in cg async code - #397

Merged
williamfgc merged 1 commit into
JuliaGPU:mainfrom
D-W-Chiang:fix-cg-async-bug
Jul 23, 2026
Merged

fix argument order of copyto!() in cg async code#397
williamfgc merged 1 commit into
JuliaGPU:mainfrom
D-W-Chiang:fix-cg-async-bug

Conversation

@D-W-Chiang

Copy link
Copy Markdown

Fixes an issue where the arguments in copyto!(r, r_old) and copyto!(r, r_aux) are in the wrong order.

Updates these functions calls to be copyto!(r_old, r) and copyto!(r_aux, r).

@williamfgc

Copy link
Copy Markdown
Collaborator

Test this please

@PhilipFackler

Copy link
Copy Markdown
Collaborator

Looks correct. Nice catch!

@williamfgc
williamfgc merged commit 473588d into JuliaGPU:main Jul 23, 2026
17 checks passed
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