Skip to content

Fix GPURodas3 error estimate and mass-matrix interpolation (companion to #429) - #597

Draft
pankgeorg wants to merge 14 commits into
SciML:masterfrom
pankgeorg:fix/rodas3-adaptive-interpolation
Draft

pankgeorg wants to merge 14 commits into
SciML:masterfrom
pankgeorg:fix/rodas3-adaptive-interpolation

Conversation

@pankgeorg

@pankgeorg pankgeorg commented Nov 29, 2026 •

Copy link
Copy Markdown

Companion to #429 (built on its head b35e14b with current master merged in). GPURodas3's adaptive error estimate now uses the embedded difference k4. Off-grid interpolation uses mass-matrix-consistent endpoint slopes (M u′ = f) and the actual length of steps shortened at stops. For singular mass matrices, off-grid output raises an explicit error until a DAE-aware interpolant exists. Regression tests are in test/gpu_kernel_de/stiff_ode/rodas3_adaptive_interpolation.jl.
Review being addressed: #429 (comment)

Scope. GPURodas3 error estimation and stiff off-grid interpolation only. The shared Rodas launchers, step loops, history buffers, linear solves and the Rodas4/Rodas5P steppers are left as on master.

Out of scope / follow-up. Same on master and unchanged here: the shared Rodas4-family stepper does not cap a trial at the final time or a stop, and fixed steps shortened at tstops interpolate with the nominal step. Adaptive trials with a nonfinite error estimate are accepted. In the GPURodas3/GPURodas42 steppers added by #429: elapsed or duplicate tstops handling, Float32 steps that round away in t + dt, and the fixed-step singular stage returning Success with NaN. Device step-history sizing and failure codes from callbacks and the lower-level API are also left alone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HN2L2YAXKKhkfJzpuFgiDj

AJ0070 and others added 7 commits April 6, 2026 23:58
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #597

Reviewed head: 1bc6c2e
Raw SHA-256: 0764c76e165ac214b491ac318ccfa412fac48790282267d1c4d20ffc59d5716b
Source SHA-256: d3f8447bad75d36a283a745e03890147b73e1fa5458ab2c18ba9215499c1b60d
Source: operator-attested-codex-v1 (runner attested by pankgeorg)
Reviewer session: 01a226b3-d1f3-7ec0-a36b-8b03533812f2
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: medium (ML2)
  • Verdict: CHANGES
  • Reviewed head: 1bc6c2e

Review report

VERDICT: CHANGES
PR: #597
Head: 1bc6c2e
Base: 95d626c
Reviewer: codex-cli 0.172.0 / gpt-6.2-sol
Session: 01a226b3-d1f3-7ec0-a36b-8b03533812f2

Risk

medium (ML2 verification gap: the new opt-in solvers return incorrect values on supported inputs, and the affected cases lack passing regressions).

Blocking findings

  • P1 — Fixed steps save incorrect values after landing on a tstop. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:16 shortens the step locally while dense output still uses the nominal integ.dt. For u′ = 1, u(0) = 0, dt = 0.5, tstops = [0.25], and saveat = [0.125, 0.25], the CPU solve returned [0.0859375, 0.125] instead of [0.125, 0.25]. A singular-mass solve also threw the off-grid error when saving exactly at the shortened step’s endpoint. GPURodas42 reproduced the wrong values through the shared Rodas4 stepper at src/ensemblegpukernel/perform_step/gpu_rodas4_perform_step.jl:20. Track the actual step length separately from the nominal step size and use it for interpolation and endpoint detection.
  • P1 — Adaptive GPURodas3 can skip a stop or label an overshot state with the final time. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:173 checks for final-time completion before checking pending stops. For u′ = 1 on [0, 0.5] with dt = 0.5, it skipped a callback at tstop = 0.25 and returned 0.5 instead of 10.5. On [0, 0.0625] with dt = 0.125, it returned 0.125 at time 0.0625. Cap each trial at the next pending stop or final time before evaluating the stages, then compute the next step from the accepted time. Add regressions for both inputs.

Nonblocking findings

  • test/gpu_kernel_de/forward_diff.jl:42 runs solves with dual numbers but never checks the returned sensitivities. Incorrect gradients can pass. Assert sensitivities against an analytic solution or an independent reference.
  • test/gpu_kernel_de/stiff_ode/gpu_ode_modelingtoolkit_dae.jl:78 and :102 check the algebraic constraint, which the initial state already satisfies. Check the terminal time and differential state against an independent reference as well.

What I ran

  • git apply --check --directory=before changes.diff and the reverse check against head passed. Julia Meta.parseall accepted all 15 changed Julia files. ci.json lists zero head checks, 18 successful base checks, and two skipped base checks.
  • On Linux ARM64 with Julia 1.13.4, I resolved dependencies from the local cache and ran rodas3_adaptive_interpolation.jl (19/19), jet_tests.jl (93/93), and the direct DAE cases from gpu_ode_modelingtoolkit_dae.jl (12/12).
  • Local julia --project=head probes reproduced the blocking failures and checked convergence against an analytic solution. Independent mass-matrix and dual-sensitivity checks passed 12/12 and 4/4. All 43 Rodas42 coefficient checks matched the locally cached OrdinaryDiffEq source.
  • Fixed and adaptive dense-output smoke tests passed 16/16 on JLArrays and 16/16 on OpenCL via PoCL. The first JLArrays probe had an error in its assertion, which I corrected before rerunning.
  • I ran the same interpolation probe under --project=before and --project=head and compared outputs with diff -u. The first probe used GPURosenbrock23, which has a dedicated interpolant. The corrected probe used GPUKvaerno3 and GPUKvaerno5 and found bit-for-bit parity across the eight tested cases.

What I did not verify

  • This ARM runner had no CUDA or AMDGPU device. Physical GPU execution and the GPU-only test/lower_level_api.jl run remain unverified. PoCL exercised OpenCL on the CPU.
  • The full finite-difference, ForwardDiff, and ModelingToolkit test files did not return results during dependency precompilation. I did not run the full suite or build the docs. The existing OpenCL finite-difference skip remains in place.
  • The merge base lacks both new selectors, so there is no failing-before/passing-after result for their behavior. I found no relevant before/after benchmark or performance claim in the patch.

Head link: 1bc6c2e


🤖 Posted by an AI agent — harness: codex-cli 0.172.0 · model: gpt-6.2-sol
Conversation: local session 01a226b3-d1f3-7ec0-a36b-8b03533812f2 (no session URL)

pankgeorg and others added 3 commits November 29, 2026 10:06
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #597

Reviewed head: f4de67c
Raw SHA-256: 9ee1bcb2c4232f179d85951da80e1e9e8ff24eb0b17385a876cf3bb51fb47bbf
Source SHA-256: 03e96584612d0aec943770d621b436759132e0b3de6ca84e72121f1a29835d85
Source: operator-attested-codex-v1 (runner attested by pankgeorg)
Reviewer session: 01a226dc-4ceb-7fc3-9ada-2c68b287ef77
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=3)

Risk assessment

  • Risk: medium-high (MH1)
  • Verdict: CHANGES
  • Reviewed head: f4de67c

Review report

VERDICT: CHANGES
PR: #597
Head: f4de67c
Base: 95d626c
Reviewer: codex-cli 0.172.0 / gpt-6.2-sol
Session: 01a226dc-4ceb-7fc3-9ada-2c68b287ef77

Risk

medium-high (MH1: the patch changes trial-step clipping and interpolation in the existing GPURodas4 integration path and adds two stiff solvers that share this machinery).

Blocking findings

  • P1 — Adaptive solves accept failed trials. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:157 and src/ensemblegpukernel/perform_step/gpu_rodas4_perform_step.jl:239. On CPU, GPURodas3 on (u'=4u) and GPURodas42 on (u'=8u), with u0=1 and dt=tf=0.5, both returned Success with a NaN endpoint. The first trial has a singular stage matrix, and the NaN error estimate falls through to acceptance. Reject nonfinite trials, retry with a smaller step, and report failure if the retries are exhausted.
  • P1 — A continuous event corrupts earlier saved values. src/ensemblegpukernel/integrators/integrator_utils.jl:297. For (u'=1), u0=0, an event at 0.25, and saveat=0.125 inside the same step, GPURodas3 saved 0.0859375 and GPURodas42 saved approximately 0.0625 instead of 0.125. Both fixed and adaptive modes reproduced this. The callback replaces the interpolant’s endpoint state before pending samples are saved. Save through the event time using the original interpolant, then install the event state and apply the callback.
  • P2 — Fixed steppers can take zero-length steps or skip stops. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:13 and src/ensemblegpukernel/perform_step/gpu_rodas4_perform_step.jl:16. Both new selectors returned Success with NaN values for (u'=1) when tstops included the initial time or a duplicate. Both also skipped a discrete callback at 0.25 when a continuous event rewound the clipped step to 0.125, yielding 0.5 instead of 10.5 at the final time. Skip stops at or before the current time before forming a trial, and advance the stop index after callbacks establish the actual step endpoint.

Nonblocking findings

  • test/gpu_kernel_de/forward_diff.jl:42 and test/lower_level_api.jl:64 exercise the new selectors but leave the returned derivatives and states unchecked. Add analytic value assertions on the selected backend. The new CPU sensitivity, boundary, and DAE tests use independent expected values. The existing OpenCL finite-difference skip is unchanged.

What I ran

  • git apply --check --whitespace=error --directory=before changes.diff passed. Applying the patch to a scratch copy of before/ and running diff -qr .review/patch head produced no differences. All head Julia files parsed with Meta.parseall.
  • With cached dependencies on Julia 1.13.4, Linux AArch64, I ran the two new CPU test files with .review/head. All 57 assertions passed. head/test/gpu_kernel_de/adaptive_endpoint.jl passed all 63 testsets. The direct DAE subset passed 25 assertions each on CPU and JLArrays. head/test/jet_tests.jl passed all 93 checks with JET 0.12.3.
  • I ran .review/regressions.jl against both snapshots. The merge base saved roughly half the expected values in the shortened fixed step and threw a DomainError after evaluating the adaptive RHS beyond tf. Head passed all four assertions. The Float32 and Float64 Hermite smoke cases produced bit-identical outputs in both snapshots. Regression script
  • On head, .review/edge.jl and .review/numerics.jl reproduced the blocking failures. The manufactured-solution convergence, diagonal mass matrix, lower-level CPU, and analytic finite-difference checks passed. Edge-case script · Numerical check script
  • I ran the OpenCL smoke test on head and the merge base with the same cached dependencies. PoCL was detected in both runs. Both failed with InvalidIRError in the unchanged time-buffer initializer before reaching a Rodas step. A head retry with PoCL’s basic device failed at the same initializer.

What I did not verify

  • Physical GPU execution on ARM, including CUDA, AMDGPU, Metal, oneAPI, and the GPU-only lower-level and continuous-callback suites. The PoCL failure also leaves Rodas device compilation and execution unverified.
  • The full CPU matrix. The broader finite-difference and ForwardDiff run and the ModelingToolkit initialization run had no completed result at review close.
  • Head CI execution or before/after performance. ci.json contains no head checks. Its successful CUDA, CPU, JLArrays, OpenCL, and QA labels apply to the base. The patch makes no performance claim and supplies no comparative benchmark.

Head link: f4de67c


🤖 Posted by an AI agent — harness: codex-cli 0.172.0 · model: gpt-6.2-sol
Conversation: local session 01a226dc-4ceb-7fc3-9ada-2c68b287ef77 (no session URL)

pankgeorg and others added 3 commits November 29, 2026 10:59
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #597

Reviewed head: fddd699
Raw SHA-256: b27dd5571bec6e2c88bc71c56aa25ce91b2311fffaec3323b53bc9339d6980c6
Source SHA-256: 5a4bd6a86271855817f11f9aacafedc1fe78d7fda53a6e1cd821d53af000695c
Source: operator-attested-codex-v1 (runner attested by pankgeorg)
Reviewer session: 01a22720-794d-79d0-b9af-c1111423accd
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: high (H2)
  • Verdict: CHANGES
  • Reviewed head: fddd699

Review report

VERDICT: CHANGES
PR: #597
Head: fddd699
Base: 95d626c
Reviewer: codex-cli 0.172.0 / gpt-6.2-sol
Session: 01a22720-794d-79d0-b9af-c1111423accd

Risk

high (H2: The patch changes step acceptance and boundary handling in the existing default adaptive Rodas paths, and a valid Float32 solve that succeeds on the merge base fails on head.)

Blocking findings

  • P1 — Fixed Rodas5P writes past the history buffer. src/ensemblegpukernel/integrators/integrator_utils.jl:128 and test/gpu_kernel_de/stiff_ode/rodas_master_parity.jl:23. With tspan=(0.0, 1.0) and dt=0.1, repeated addition leaves the tenth step below 1.0, so the next step tries to write row 12 of an 11-row buffer. Forced bounds checks reproduced this on both snapshots. The new test passes with bounds checks disabled because the endpoint write masks the bad step. Extend fixed-step endpoint clipping and capacity checks to Rodas5P, and retain a bounds-enabled regression.
  • P1 — A well-conditioned Float32 system is rejected as singular. src/ensemblegpukernel/linalg/linsolve.jl:12. Adaptive Rodas4 with u′=0, three Float32 states, tspan=(0f0, 2.0f-13), and dt=1.0f-13 reaches the endpoint on the merge base. Head returns DtLessThanMin at the initial time because the determinant of a finite, scaled identity matrix overflows. Use checked pivoted solves or scaled direct solves for small systems.
  • P1 — Adaptive callback failures are reported as success. src/ensemblegpukernel/kernels.jl:142 and src/ensemblegpukernel/kernels.jl:164. On head, a Rodas4 callback that calls terminate!(integ, ReturnCode.Failure) at 0.25 stops an endpoint-only solve for (0.0, 0.5) at 0.25 and returns Success. The new loop exits on the failure code, but the status writer discards it. Record the actual return code and valid row count for every exit handled by the loop.
  • P2 — Repeated fixed-step events exhaust the history buffer. src/ensemblegpukernel/lowerlevel_solve.jl:159. For u′=1 on (0.0, 0.625) with dt=0.625 and a callback that resets u each time it reaches 0.125, head returns MaxIters after saving only the start and first two events. The capacity formula allows only one extra row per nominal step, and the lower-level wrapper drops the failure code. Support additional event rows or expose an explicit capacity limit and failure through both APIs.
  • P2 — Fixed Rodas3 reports success after a singular stage solve. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:43. For u′=4u, u₀=1, and dt=0.5, the stage matrix is singular. Head returns Success with NaN as the terminal state. Check the factorization and stage results before saving the step, and return a failure code when a fixed trial cannot be completed.

Nonblocking findings

  • test/gpu_kernel_de/stiff_ode/rodas_master_parity.jl:5 conditionally omits both new selectors if GPURodas3 is missing. Keep that guard in the merge-base replay harness and require both selectors in the committed parity test. The added numerical assertions I reviewed use independent analytic expectations, and I found no removed numerical assertions or relaxed tolerances.

What I ran

  • Compared before/ and head/ with git diff --no-index. Forward and reverse git apply --check passed, and Julia Meta.parseall parsed all 25 changed Julia files. No separate target/ snapshot was present.
  • Resolved cached dependencies with offline Pkg.instantiate. On Julia 1.13.4, Linux AArch64, ran the four new Rodas files with julia --project=head through a local include harness. All 294 assertions passed with default bounds settings. With --check-bounds=yes, 283 passed and the Rodas5P case raised the BoundsError above.
  • Ran the targeted probes with --project=before and --project=head. The fixed Rodas4 RHS-domain check errored on the merge base and passed all three assertions on head. The singular adaptive Rodas4 trial returned NaN on the merge base and reached the analytic endpoint on head. The Float32 determinant probe passed before and failed on head.
  • Ran the direct DAE, analytic sensitivity, and lower-level excerpts on CPU. All 69 assertions passed. A separate nonlinear finite-difference probe passed 12 assertions. The sensitivity and lower-level excerpts passed all 44 assertions on JLArrays. OpenCL/PoCL raised InvalidIRError in the shared time-buffer initialization kernel on both snapshots, before reaching the solver.
  • Read ci.json. It lists zero head checks, 18 successful base checks, and four skipped base checks. The base labels provide no execution evidence for the changed head paths. Base CUDA check · Base CPU check

What I did not verify

  • Physical GPU execution on ARM, including device-side trial rejection, callback history handling, status transfers, and the CUDA/AMDGPU lower-level test path. OpenCL solver execution also remains unverified after the initialization failure.
  • The full CPU ForwardDiff, finite-difference, and ModelingToolkit test files did not complete during the review. The generated DAE initialization path, JET/QA, Enzyme, and the supported Julia version matrix remain unverified.
  • I found no before/after benchmark for factor reuse, the added status transfer, or callback-history allocation. GPU throughput and memory impact remain unmeasured.

Head link: fddd699


🤖 Posted by an AI agent — harness: codex-cli 0.172.0 · model: gpt-6.2-sol
Conversation: local session 01a22720-794d-79d0-b9af-c1111423accd (no session URL)

Restore the shared steppers, launchers, and history handling. Use the actual GPURodas3 step size for interpolation at shortened stops, and cover the embedded estimate and mass matrix slopes in one regression file.

Co-authored-by: Codex gpt-6.2-sol (codex-cli 0.172.0, session 01a2266f-4cf0-7072-bcad-a7a2b453e9bf) <noreply@openai.com>
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #597

Reviewed head: c1af291
Raw SHA-256: 49f18537c917c7ef02a39a4b2faef3255c091c74211ce4462e9b6d108accc744
Source SHA-256: 9264c2a133b7e510b1964101437f1f0372691fef6bdd4429c475db894c432ad4
Source: operator-attested-codex-v1 (runner attested by pankgeorg)
Reviewer session: 01a231fa-9a3b-7560-9b2a-b73fb5e2d41b
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: medium (M3)
  • Verdict: CHANGES
  • Reviewed head: c1af291

Review report

VERDICT: CHANGES
PR: #597
Head: c1af291
Base: 95d626c
Reviewer: codex-cli 0.172.0 / gpt-6.2-sol
Session: 01a231fa-9a3b-7560-9b2a-b73fb5e2d41b

Risk

medium (M3: The patch changes the shared saveat interpolation hot path without before/after performance measurements.)

Blocking findings

  • P1 — GPURodas42 can return the state at the wrong final time. src/ensemblegpukernel/integrators/stiff/types.jl:428 routes the new selector through the stepper at src/ensemblegpukernel/perform_step/gpu_rodas4_perform_step.jl:125. On CPU, u′ = 1, u₀ = 0, tspan = (0, 0.0625), dt = 0.125, and adaptive endpoint-only output returned u ≈ 0.125 at reported time 0.0625. The merge-base GPURodas4 reproduced the same defect. Cap the trial step at the next stop or final time before evaluating the stages, and add an endpoint-only regression test.
  • P1 — GPURodas42 saves incorrect values around tstops. src/ensemblegpukernel/perform_step/gpu_rodas4_perform_step.jl:20 and :254 shorten the accepted interval while the save path still uses the original step size at src/ensemblegpukernel/integrators/integrator_utils.jl:74. For u′ = 1, u₀ = 0, dt = 0.375, and tstops = [0.25], both modes returned approximately [0.08333, 0.16667, 0.5] at saveat = [0.125, 0.25, 0.5]. The fixed-step failure also reproduced with merge-base GPURodas4. Use the actual stage interval for fixed-step interpolation and clip adaptive trials before computing their stages and interpolation coefficients. Test a save inside the shortened step and another exactly at the stop.
  • P1 — GPURodas3 can lose pending stops and skip callbacks. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:13 and :175 mishandle the stop cursor. On CPU, fixed stepping with tstops = [0.0, 0.25] took a zero-length step and returned NaNs. Adaptive stepping with those stops, or with [0.125, 0.125, 0.25], skipped a callback scheduled at 0.25. With a single stop at 0.25, both modes also skipped that callback when a continuous callback first moved the integrator back to 0.125. Skip elapsed and duplicate stops, and consume a future stop only once callback handling confirms the integrator reached it.
  • P1 — Both new adaptive solvers can report success with a NaN state. src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:159 and src/ensemblegpukernel/perform_step/gpu_rodas4_perform_step.jl:236 accept a NaN error estimate. Both reproduced on CPU with u′ = -u for positive u, a NaN guard outside that domain, u₀ = 1, tspan = (0, 4), and dt = 4. Starting at dt = 0.125 produced finite values near exp(-4). Reject nonfinite trials, retry with a smaller step, and propagate failure if recovery is impossible.
  • P2 — GPURodas3 can advance the state without advancing time. At src/ensemblegpukernel/perform_step/gpu_rodas3_perform_step.jl:111, a positive dt can round away in t + dt, yet the stages still integrate over dt. For Float32 u′ = 1, u₀ = 0, t₀ = 1f8, tf = nextfloat(t₀, 2), and initial dt = 1f0, the CPU solve returned 18 over an interval of 16. Integrate over the representable time increment and handle a trial that cannot advance time before updating the state.

Nonblocking findings

  • test/gpu_kernel_de/forward_diff.jl:42 and test/lower_level_api.jl:64 only exercise calls. Incorrect sensitivities or saved states can pass those checks. Assert analytic sensitivities and returned times and states for both new selectors. The numerical assertions elsewhere use analytic values, algebraic constraints, or a separate OrdinaryDiffEq solver. The diff preserves existing assertions and test gates.

What I ran

  • git diff --no-index --stat before head showed the 17 changed files. git apply --check --whitespace=error --directory=before changes.diff and the reverse check against head passed. Julia Meta.parseall parsed all 16 changed Julia files. The workspace supplied no separate target/ snapshot or usable Git metadata.
  • On Linux aarch64 with Julia 1.13.4, the initial using DiffEqGPU failed before dependency resolution. Offline Pkg.instantiate(; update_registry=false) then resolved both snapshots from the local cache. I kept generated manifests and probe scripts under .julia-scratch/review/.
  • Ran rodas3_adaptive_interpolation.jl with GROUP=CPU and GROUP=JLArrays, with 39/39 passing on each. Ran adaptive_endpoint.jl on both snapshots, with 132/132 passing on each.
  • Ran the head CPU files finite_diff.jl, forward_diff.jl, and gpu_ode_modelingtoolkit_dae.jl. Finite differences passed 7/7, ForwardDiff completed with zero assertions, and the DAE file passed 129/129. jet_tests.jl passed 93/93 with JET 0.12.3.
  • Ran the CPU probe scripts probes.jl, edges.jl, callback.jl, precision.jl, and nonfinite.jl for the failures above. In probes.jl, both methods’ errors decreased under step refinement on an analytic nonautonomous ODE. tableaus.jl matched 124/124 stored coefficients against cached OrdinaryDiffEq source. mass.jl and dual.jl each passed 4/4 independent assertions.

What I did not verify

  • Native GPU execution, including the CUDA/AMDGPU lower-level tests, was unavailable on this ARM host. A manual GROUP=OpenCL run on software POCL produced six InvalidIRErrors in the shared gpu__fill_time_kernel! before the new steppers ran. The retry and merge-base OpenCL probe reached their timeouts without completing.
  • I did not run the full backend matrix or build the documentation. ci.json contains zero head checks. It lists successful base CUDA, CPU, JLArrays, and OpenCL checks, with no execution logs for the changed paths.

Head link: c1af291


🤖 Posted by an AI agent — harness: codex-cli 0.172.0 · model: gpt-6.2-sol
Conversation: local session 01a231fa-9a3b-7560-9b2a-b73fb5e2d41b (no session URL)

This branch has not been deployed

No deployments
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