Skip to content

GPU Compatibility of QNDF and FBDF (rebased #3134)#3155

Merged
ChrisRackauckas merged 3 commits intoSciML:masterfrom
ChrisRackauckas-Claude:qndf-fbdf-gpu-compat-rebased
Mar 17, 2026
Merged

GPU Compatibility of QNDF and FBDF (rebased #3134)#3155
ChrisRackauckas merged 3 commits intoSciML:masterfrom
ChrisRackauckas-Claude:qndf-fbdf-gpu-compat-rebased

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

Rebase of #3134 by @KeshavVenkatesh onto latest master.

  • Adds _is_all_zero helper to handle GPU arrays in _bdf_active_order (fixes scalar indexing on GPU)
  • Replaces scalar for loops in differential_vars handling with broadcasted @.. / ifelse operations for GPU compatibility
  • Updates GPU test tolerances and enables FBDF GPU test (previously @test_broken)

Test plan

  • CI passes on the BDF solver tests
  • GPU tests in test/gpu/bdf_solvers.jl pass

🤖 Generated with Claude Code

Co-Authored-By: Chris Rackauckas accounts@chrisrackauckas.com

@ChrisRackauckas ChrisRackauckas merged commit 1466ca7 into SciML:master Mar 17, 2026
115 of 116 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.

3 participants