Skip to content

Fix CuArray conversion of partitioned solution states - #663

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
pankgeorg:fix/cuarray-arraypartition-conversion
Sep 26, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
pankgeorg:fix/cuarray-arraypartition-conversion

Conversation

@pankgeorg

Copy link
Copy Markdown
Contributor

Fixes #662 by assembling ArrayPartition states on the GPU before stacking them, avoiding scalar indexing in CuArray(sol).
Adds GPU regression coverage for vector and matrix partitions in the existing CUDA test group.
Tested with CUDA.allowscalar(false) on an NVIDIA RTX 2000 Ada: test/GPU/vectorofarray_gpu.jl and #659's unchanged test/GPU/ode_gpu.jl both pass.

AI-assisted-by: Codex CLI 0.155.0 (gpt-6-sol)

@ChrisRackauckas
ChrisRackauckas merged commit 4daa937 into SciML:master Sep 26, 2026
ChrisRackauckas referenced this pull request Sep 26, 2026
Agent-Harness: Claude Code
Agent-Model: claude-opus-5-5[1m]
Agent-Session: local Claude Code session 3cd6500a-1f81-46b5-ac0b-c466e15b6a53 on Chris's Mac (session ID, no URL)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

CuArray(sol) scalar-indexes GPU arrays for SecondOrderODEProblem (ArrayPartition) solutions

2 participants