From 3e1be5410d110fedbfc2cabf8058130103a3e111 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 25 Mar 2026 10:55:42 -0400 Subject: [PATCH 1/2] Fix GPU test: add explicit DiffEqBase import DiffEqBase is no longer accessible via OrdinaryDiffEq.DiffEqBase, causing an UndefVarError in the GPU tests. Import it directly. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.6 (1M context) --- test/gpu_all.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gpu_all.jl b/test/gpu_all.jl index 9a10e2e..faad988 100644 --- a/test/gpu_all.jl +++ b/test/gpu_all.jl @@ -1,8 +1,8 @@ using LinearAlgebra, - OrdinaryDiffEq, Test, PreallocationTools, CUDA, ForwardDiff, ADTypes + OrdinaryDiffEq, DiffEqBase, Test, PreallocationTools, CUDA, ForwardDiff, ADTypes # upstream -OrdinaryDiffEq.DiffEqBase.anyeltypedual(x::FixedSizeDiffCache, counter = 0) = Any +DiffEqBase.anyeltypedual(x::FixedSizeDiffCache, counter = 0) = Any #Dispatch tests chunk_size = 5 From bca6fc23ae8c90d3b33f92c88d023e35ee3b2725 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Wed, 25 Mar 2026 17:10:27 -0100 Subject: [PATCH 2/2] Update gpu_all.jl --- test/gpu_all.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/gpu_all.jl b/test/gpu_all.jl index faad988..e3f647c 100644 --- a/test/gpu_all.jl +++ b/test/gpu_all.jl @@ -1,8 +1,5 @@ using LinearAlgebra, - OrdinaryDiffEq, DiffEqBase, Test, PreallocationTools, CUDA, ForwardDiff, ADTypes - -# upstream -DiffEqBase.anyeltypedual(x::FixedSizeDiffCache, counter = 0) = Any + OrdinaryDiffEq, Test, PreallocationTools, CUDA, ForwardDiff, ADTypes #Dispatch tests chunk_size = 5