From 47ad2a76bf08c5d8a4822d51d1d8062a85a6fcdb Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Fri, 27 Nov 2026 13:26:05 +0100 Subject: [PATCH] Cap KernelInterface at 0.4 AcceleratedKernels sizes its sub-group reductions and scans from `KI.sub_group_size(backend)`, which KernelInterface 0.5 removes: only kernels that request a width get a fixed one (JuliaGPU/KernelAbstractions.jl#990). AcceleratedKernels reaches KernelInterface through KernelAbstractions' re-export and so had no bound on it, and would fail at run time once the back-ends move to 0.5. Depending on KernelInterface directly, with compat 0.4, keeps this release on back-ends it works with; the port to 0.5 needs a breaking release. --- Project.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Project.toml b/Project.toml index ee501ce3..b21d6f81 100644 --- a/Project.toml +++ b/Project.toml @@ -9,6 +9,7 @@ ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" Atomix = "a9b6321e-bd34-4604-b9c9-b65b8de01458" GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c" +KernelInterface = "4ee993da-d684-4d17-a7dd-4e58e78d92bf" PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" [weakdeps] @@ -35,6 +36,7 @@ CUDA = "6.5" CUDACore = "6.5" GPUArraysCore = "0.2.1" KernelAbstractions = "0.9.43, 0.10" +KernelInterface = "0.4" Metal = "1.12" OpenCL = "1" PrecompileTools = "1"