Skip to content

Conversation

@ChrisRackauckas
Copy link
Member

Summary

This PR adds the necessary version bumps and configuration to make the downgrade CI work, similar to the changes proposed in #366.

  • Add GPUArraysCore dependency with version constraint 0.1, 0.2 to Project.toml
  • Create CI.yml workflow file with CPU testing configuration using GROUP=CPU
  • Add CPU backend support via KernelAbstractions.CPU() in test/utils.jl
  • Fix deprecated function name determine_event_occurancedetermine_event_occurrence

Changes Made

Project.toml

  • Added GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" as dependency
  • Added version constraint GPUArraysCore = "0.1, 0.2" in [compat] section

.github/workflows/CI.yml (new file)

  • Added CPU testing workflow with GROUP=CPU environment variable
  • Uses standard Julia CI setup with ubuntu-latest runner

test/utils.jl

  • Added GROUP == "CPU" case to load KernelAbstractions.CPU() backend
  • Enables testing on CPU backend without GPU hardware

Bug Fix

  • Fixed deprecated function name in src/ensemblegpukernel/integrators/integrator_utils.jl
  • Updated determine_event_occurance to determine_event_occurrence to match current DiffEqBase API

Test Plan

  • Package compiles successfully with new dependencies
  • CPU backend loads correctly with GROUP=CPU
  • All version constraints are properly specified
  • CI workflow runs successfully
  • Downgrade CI workflow passes with new constraints

🤖 Generated with Claude Code

- Add GPUArraysCore dependency with version constraint 0.1, 0.2
- Create CI.yml workflow with CPU testing configuration
- Add CPU backend support via KernelAbstractions in test/utils.jl
- Fix deprecated function name determine_event_occurance → determine_event_occurrence

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@ChrisRackauckas ChrisRackauckas deleted the version-bump-downgrade-ci branch July 31, 2025 11:59
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