Repository navigation
GPU bridges - #7462
Draft
multitalentloes wants to merge 15 commits into
Draft
GPU bridges#7462multitalentloes wants to merge 15 commits into
multitalentloes wants to merge 15 commits into
Conversation
multitalentloes
force-pushed
the
all_gpu_bridges_1
branch
from
October 22, 2026 12:11
58c8287 to
9b797cf
Compare
Use shared Newton physics for device corrections, scratch/commit updates, phase switching and stabilization history. Preserve explicit host-cache boundaries across advance, restore, CPU fallback and diagnostic transitions. Scope floating-point contraction flags to the device Newton translation unit and retain same-state shadow diagnostics. Keep convergence and model-update consumers on the full host mirror until the compact-data follow-up.
Count successful GpuBuffer and smart-pointer allocations and helper uploads only in opt-in scopes. Verify owner construction produces nonzero diagnostics and current-slot refresh preserves static counters. Check device Newton launch itself performs no owned allocation or host upload.
Retain the full report keys on the focused resident-Newton branch. Discover optional source, compact-output and true-IMPES counter groups at instantiation; absent features report zero. Include source gathers in aggregate IQ downloads without introducing implementation dependencies.
…mpact model and output data
Report the affected cell when a CPU storage block is singular or produces invalid weights, including when Dune small-matrix checks are disabled. Rethrow failures after the OpenMP region so the collective exception handler can report them.
multitalentloes
force-pushed
the
all_gpu_bridges_1
branch
from
November 23, 2026 15:21
9b797cf to
f5df247
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR connects GPU properties, assembly, linear solving, and Newton updates through shared persistent device storage, reducing transfers and CPU pre/post-processing costs. This first version primarily supports SPE11C, some initial performance results are present below.
The full implementation is being split into twelve reviewable PRs. Numbers below identify plan items; checked means merged. Unsubmitted items are already represented in the full implementation.
Preliminary SPE11C performance
Selected full-schedule runs with diffusion and dispersion disabled, using a Ryzen 9 7950X and Radeon Pro W7900. CPU uses 16 MPI ranks with CPRW; GPU uses one MPI rank, 16 host threads, GPU properties/assembly/Newton updates, and CPR true-IMPES/Hypre.