KernelAbstractions 0.10 - #475
Closed
christiangnrd wants to merge 3 commits into
Closed
christiangnrd wants to merge 3 commits into
christiangnrd wants to merge 3 commits into
Conversation
Closed
christiangnrd
force-pushed
the
intrinsics
branch
3 times, most recently
from
August 22, 2026 15:32
274e180 to
42dd0ff
Compare
christiangnrd
force-pushed
the
intrinsics
branch
from
August 22, 2026 16:39
42dd0ff to
7fac982
Compare
christiangnrd
force-pushed
the
intrinsics
branch
3 times, most recently
from
September 8, 2026 01:11
1b42e9a to
da774e1
Compare
christiangnrd
force-pushed
the
intrinsics
branch
2 times, most recently
from
September 8, 2026 14:53
d446d82 to
8a71ca7
Compare
christiangnrd
force-pushed
the
intrinsics
branch
3 times, most recently
from
September 11, 2026 22:27
121f8ab to
a1ef9b8
Compare
christiangnrd
force-pushed
the
intrinsics
branch
from
September 18, 2026 02:28
a1ef9b8 to
4bce65e
Compare
christiangnrd
force-pushed
the
intrinsics
branch
from
September 26, 2026 16:12
4bce65e to
7030b7a
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## kinterface #475 +/- ##
==============================================
+ Coverage 82.19% 82.30% +0.10%
==============================================
Files 20 20
Lines 1691 1639 -52
==============================================
- Hits 1390 1349 -41
+ Misses 301 290 -11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Implement the KernelInterface (KI) API for OpenCL.jl in an internal `OpenCLInterface` module, reachable through `KI.get_backend` on a CLArray. The existing KernelAbstractions 0.9 back end moves unchanged to OpenCLKernelsOld.jl. Run the KI testsuite as part of the test suite. The device's work-group limits, including the per-dimension limits that KI 0.2.3 uses to bound automatically chosen workgroup sizes (NVIDIA, for example, only allows 64 work-items along the third dimension), are cached per device because querying them allocates on every launch. Co-authored-by: Tim Besard <tim.besard@gmail.com>
KernelAbstractions 0.10 builds on KernelInterface, so the KernelInterface back end becomes the public `OpenCLBackend` (in `OpenCLKernels`), and the KernelAbstractions-specific parts move to a `KernelAbstractionsExt` extension. The KernelAbstractions 0.9 back end is removed. Kernel launches with an automatically tuned workgroup size compute it from the number of indices along each dimension, as an ndrange may now contain ranges, and return before compiling when the ndrange is empty. Skip the KernelAbstractions tests that only apply to the CPU back end. Co-authored-by: Tim Besard <tim.besard@gmail.com>
The compat also admits 0.9, because Pkg orders 0.10.0-dev before 0.10.0. Pkg < 1.12 drops a developed weak dependency from the project, so restore the project after developing KernelAbstractions on those versions. Co-authored-by: Tim Besard <tim.besard@gmail.com>
Member
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.
Do not merge until KernelInterface has been reviewed and interface fully decided