Skip to content

Fix multiple calls of ReduceOps::eval_mf#5323

Open
WeiqunZhang wants to merge 2 commits intoAMReX-Codes:developmentfrom
WeiqunZhang:reduce_mf_multi
Open

Fix multiple calls of ReduceOps::eval_mf#5323
WeiqunZhang wants to merge 2 commits intoAMReX-Codes:developmentfrom
WeiqunZhang:reduce_mf_multi

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

Previously, ReduceOps::eval_mf (the fused MultiFab path) always rewrote the device accumulation buffer from scratch. This would produce incorrect results if the user calls ReduceOps::eval_mf multiple times.

Previously, `ReduceOps::eval_mf` (the fused MultiFab path) always rewrote
the device accumulation buffer from scratch. This would produce incorrect
results if the user calls ReduceOps::eval_mf multiple times.
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