Skip to content

AMREX_HOST_DEVICE_FOR_[34]D_FLAG: Pass by reference in CPU code#4920

Merged
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:coverity_warnings
Jan 22, 2026
Merged

AMREX_HOST_DEVICE_FOR_[34]D_FLAG: Pass by reference in CPU code#4920
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:coverity_warnings

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

Change [=] to [&] in CPU code to avoid passing big objects by value.

Change [=] to [&] in CPU code to avoid passing big objects by value.
@WeiqunZhang WeiqunZhang requested a review from atmyers January 22, 2026 20:39
@asalmgren asalmgren self-requested a review January 22, 2026 20:46
@WeiqunZhang WeiqunZhang merged commit bac2457 into AMReX-Codes:development Jan 22, 2026
74 checks passed
@WeiqunZhang WeiqunZhang deleted the coverity_warnings branch January 22, 2026 21:46
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.

2 participants