Add JLArray tests for GPU-like array interface compliance#94
Merged
ChrisRackauckas merged 1 commit intoSciML:masterfrom Jan 2, 2026
Merged
Conversation
- Added JLArrays as a test dependency - Added JLArray-based tests to interface_tests.jl to verify GPU-like array compatibility with all OOP (out-of-place) solvers - Added compat entries for JLArrays and OrdinaryDiffEq All OOP solvers (SimpleEuler, SimpleRK4, SimpleTsit5, SimpleATsit5, GPUSimpleTsit5, GPUSimpleATsit5) correctly support JLArrays without scalar indexing issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
This PR adds JLArray-based tests to enhance the interface compliance testing of SimpleDiffEq.jl:
Interface Compliance Results
All OOP solvers correctly support JLArrays:
The IIP (in-place) versions use scalar indexing for performance, which is the expected design - they are CPU-optimized, while the
GPU*variants are designed for GPU compatibility.Pre-existing Interface Compliance
The package already had good interface compliance:
zero(u0)andsimilar()for type-generic initializationTest plan
cc @ChrisRackauckas
🤖 Generated with Claude Code