Repository navigation
Cap KernelInterface at 0.4 - #217
Merged
Merged
Conversation
Member
This technically means KA should only bump to KI 0.5 in a breaking release… Should we add a |
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.
maleadt
force-pushed
the
tb/ki-compat
branch
from
November 27, 2026 13:12
4a9d7e0 to
47ad2a7
Compare
This was referenced Nov 27, 2026
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.
KernelInterface 0.5 (JuliaGPU/KernelAbstractions.jl#990) removes
KI.sub_group_size(backend): kernels only get a fixed sub-group width when they request one. AcceleratedKernels sizes its sub-group reductions and scans from that function (src/block.jl), so it would fail at run time as soon as a GPU back-end is released with KernelInterface 0.5.AcceleratedKernels only reaches KernelInterface through KernelAbstractions' re-export, so nothing in its compat stops that combination. This adds KernelInterface as a direct dependency with compat
0.4, so that this and later 0.5.x releases stay on back-ends they work with. The port to KernelInterface 0.5 will follow as AcceleratedKernels 0.6.Bumps the version to 0.5.15, so it can be registered before the back-ends move.