Skip to content

Implement PrivateUse1 (multiGPU) support for MCMC kernels#421

Merged
harrism merged 3 commits into
openvdb:mainfrom
harrism:feature/mcmc-multigpu-support
Jan 28, 2026
Merged

Implement PrivateUse1 (multiGPU) support for MCMC kernels#421
harrism merged 3 commits into
openvdb:mainfrom
harrism:feature/mcmc-multigpu-support

Conversation

@harrism

@harrism harrism commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Add multiGPU dispatch for GaussianMCMCAddNoise and GaussianRelocation operations to enable unified memory multiGPU backend support.

Both implementations follow the established PrivateUse1 pattern:

  • Iterate over all GPU devices
  • Use deviceChunk(N, deviceId) to calculate data chunks per device
  • Launch kernels with device-specific offset and size
  • Synchronize all streams with mergeStreams()

Updated test to remove PrivateUse1 NOT_IMPLEMENTED check, matching the pattern used by other operations in the codebase.

Closes #393

Signed off by Mark Harris mharris@nvidia.com
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

@harrism harrism requested a review from a team as a code owner January 21, 2026 11:37
@harrism harrism requested review from blackencino, matthewdcong and phapalova and removed request for phapalova January 21, 2026 11:37
@harrism harrism added core library Core fVDB library. i.e. anything in the _Cpp module (C++) or fvdb python module Gaussian Splatting Issues related to Gaussian splattng in the core library labels Jan 21, 2026
Signed-off-by: Mark Harris <mharris@nvidia.com>
Signed-off-by: Mark Harris <mharris@nvidia.com>
@harrism harrism force-pushed the feature/mcmc-multigpu-support branch from cc6eb32 to d8722db Compare January 22, 2026 03:24
@harrism harrism moved this to In review in fvdb-realitycapture Jan 22, 2026
@matthewdcong

Copy link
Copy Markdown
Contributor

looks good pending the CI fix

@matthewdcong

Copy link
Copy Markdown
Contributor

CI fix is merged so if you grab the latest the tests should pass now

@harrism harrism merged commit ab07ab2 into openvdb:main Jan 28, 2026
32 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in fvdb-realitycapture Jan 28, 2026
@harrism harrism deleted the feature/mcmc-multigpu-support branch January 28, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core library Core fVDB library. i.e. anything in the _Cpp module (C++) or fvdb python module Gaussian Splatting Issues related to Gaussian splattng in the core library

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

MCMC Kernels multiGPU implementation

2 participants