Repository navigation
CI/CD: GitHub Actions, Codecov and CSCS GH200 CI, plus fixes for aarch64 and Julia 1.13 - #232
Merged
Merged
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Collaborator
Author
|
cscs-ci run |
1 similar comment
Collaborator
Author
|
cscs-ci run |
…are loops, CellArray type checks) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…hide_communication and @Overlap Metal batches the work on the default queue and submits it lazily, so without this e.g. a preceding zero-initialization was executed after the computations (wrong results); on CUDA and AMDGPU it closes the same latent race. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
luraess
marked this pull request as ready for review
October 21, 2026 21:10
Collaborator
Author
|
Closes #190 |
This was referenced Oct 22, 2026
Closed
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.
The CI on
mainfails for Julia 1.13, and no coverage has ever reached Codecov. This PR fixes the test runner and GitHub Actions, uploads coverage, adds CSCS CI on Daint GH200, and fixes the failures found when running the suite on GH200 (aarch64, Julia 1.13) and on the native Apple-silicon runners (Metal, tested for the first time).CI/CD
test/runtests.jl):Base.julia_cmd(), so--code-coverage(and--check-bounds) ofPkg.testreach the test processes. Before, coverage was only collected from the runner process.test_args.PS_TEST_BACKEND=CUDA|AMDGPU|Metalmakes the run fail instead of silently skipping a non-functional GPU backend.main, tags and PRs, with concurrency cancelling.minand1on Ubuntu and macOS, pluspre(allowed to fail: the test dependencies cannot currently be resolved together onpre).julia-actions/cache, and Codecov upload with flagcpu.codecov.yml: informational statuses and carryforward flags.ci/cscs-gh200.yml): one job runs the full suite in thejulia/26.3:v1uenv, with the GPU backends on the GH200 GPUs and the CPU backends on Grace, then uploads coverage with flaggh200.Project.toml:CUDA_Runtime_jllis now a test dependency. Without it,Pkg.testignores the uenv's local CUDA runtime preference.PS_TEST_BACKENDand the CI setup.Fixes
@sharedMemon CPU expanded toMArray{..., eltype(A), ...}(undef).@batchdoes not lift variables used in a callee expression into its closure arguments, soAwas captured.@cfunctionis not supported on aarch64 (Grace, Apple Silicon):cfunction: closures are not supported on this platform.MArraytype is now passed to a smallalloc_undefhelper. The type is constructed exactly as before.Dictiteration order, which changed in Julia 1.13. The choice is now deterministic, preferring the offset closest to the stencil centre. This reproduces the result of Julia ≤ 1.12.@hide_communication/@overlapon GPUs: the expansions now synchronize the task's default stream before launching on the ParallelStencil streams. With Metal's batched default queue, a preceding array initialization was otherwise executed after the computations (all-zero results in the macOS CI); on CUDA/AMDGPU this closes the same latent race. The design question behind it (per-task streams vs. manually scheduled streams, also in ImplicitGlobalGrid) is GPU streams: work on the task's default stream is not ordered before@hide_communication/@overlap(wrong results with Metal) #233.Tests
endin indexing expressions asvar"end": the padding expansion tests now build their expected strings with the running version's printing.Threads.@threads, even with one thread (reported upstream).@parallel_indices (I...)tests captured the globalone, which fails on aarch64 like@sharedMemabove.:gpu_metaland always restore:cpu(an error previously left the hardware on Metal for the rest of the file);CellArraytype checks under KernelAbstractions useisawith the blocklength that KernelAbstractions actually defaults to (theMtlCellArrayalias leaves the storage type open).Validation
minand1.cpuandgh200.