Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
julia-version: ['1.10']
group: [CPU]
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
GROUP: ${{ matrix.group }}
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down Expand Up @@ -44,6 +45,7 @@ ChainRulesCore = "1"
DiffEqBase = "6.122"
DocStringExtensions = "0.8, 0.9"
ForwardDiff = "0.10, 1"
GPUArraysCore = "0.1, 0.2"
KernelAbstractions = "0.9"
LinearSolve = "1.15, 2, 3"
Metal = "0.5, 1"
Expand Down
2 changes: 1 addition & 1 deletion src/ensemblegpukernel/integrators/integrator_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ end
end

# interp_points = 0 or equivalently nothing
@inline function DiffEqBase.determine_event_occurance(
@inline function DiffEqBase.determine_event_occurrence(
integrator::DiffEqBase.AbstractODEIntegrator{
AlgType,
IIP,
Expand Down
3 changes: 3 additions & 0 deletions test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ elseif GROUP == "oneAPI"
elseif GROUP == "Metal"
using Metal
Metal.MetalBackend()
elseif GROUP == "CPU"
using KernelAbstractions
KernelAbstractions.CPU()
end

import GPUArraysCore
Expand Down
Loading