From 6e45c95a3eab8476315c35967f6781a1074b63ee Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 5 Oct 2026 21:55:50 +0200 Subject: [PATCH 1/3] Allow UnsafeAtomics 0.4. AcceleratedKernels only uses its loads, stores and fences, which 0.4 keeps. --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index bcd93597..7acbccae 100644 --- a/Project.toml +++ b/Project.toml @@ -39,6 +39,6 @@ Markdown = "1" Metal = "1.10.1" OpenCL = "0.10" SIMD = "3" -UnsafeAtomics = "0.3.0" +UnsafeAtomics = "0.3, 0.4" julia = "1.10" oneAPI = "1, 2" From 63ebc33fdbee5dcc186178e501716a47ce79bf9b Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 5 Oct 2026 21:55:50 +0200 Subject: [PATCH 2/3] Bump version. --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 7acbccae..b5162d14 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "AcceleratedKernels" uuid = "6a4ca0a5-0e36-4168-a932-d9be78d558f1" -version = "0.5.0" +version = "0.5.1" authors = ["Andrei-Leonard Nicusan and contributors"] [deps] From f390d770e964c11ffb05e2f9074ab452bfbdca93 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 6 Oct 2026 07:13:37 +0200 Subject: [PATCH 3/3] CI: develop KernelInterface along with KernelAbstractions main. KernelAbstractions main depends on the unregistered KernelInterface 0.4, which it provides through `[sources]`. Julia 1.10 ignores that, so the KA 0.10 job could not resolve its environment there. --- .github/workflows/CI-CPU.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI-CPU.yml b/.github/workflows/CI-CPU.yml index a7e99782..10eaf763 100644 --- a/.github/workflows/CI-CPU.yml +++ b/.github/workflows/CI-CPU.yml @@ -125,11 +125,15 @@ jobs: arch: x64 - uses: julia-actions/cache@v3 - name: Develop AcceleratedKernels and KernelAbstractions main into the test environment + # KernelInterface is unregistered and only reaches KernelAbstractions through its + # `[sources]`, which Julia 1.10 ignores, so develop it explicitly. run: | julia --project=test -e ' using Pkg Pkg.develop([PackageSpec(path="."), - PackageSpec(url="https://github.com/JuliaGPU/KernelAbstractions.jl")])' + PackageSpec(url="https://github.com/JuliaGPU/KernelAbstractions.jl"), + PackageSpec(url="https://github.com/JuliaGPU/KernelAbstractions.jl", + subdir="lib/KernelInterface")])' - name: Run tests # only the generic tests: the others, Aqua included, do not depend on the backend run: julia --project=test test/runtests.jl --cpu-ka cpu-ka/