Skip to content

Fix multibatch mGPU race condition in SH backwards op#484

Merged
matthewdcong merged 1 commit into
openvdb:mainfrom
matthewdcong:mgpu_multibatch_sh
Feb 25, 2026
Merged

Fix multibatch mGPU race condition in SH backwards op#484
matthewdcong merged 1 commit into
openvdb:mainfrom
matthewdcong:mgpu_multibatch_sh

Conversation

@matthewdcong

Copy link
Copy Markdown
Contributor

Follow up to #434 . In the mGPU case, different batches can be processed on different GPUs so we need atomicAdd_system instead of gpuAtomicAdd aka atomicAdd.

Signed-off-by: Matthew Cong <mcong@nvidia.com>

@swahtz swahtz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for catching that one!

@matthewdcong matthewdcong merged commit 83214bf into openvdb:main Feb 25, 2026
35 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.

2 participants