Skip to content

KI Sub-groups#668

Open
christiangnrd wants to merge 17 commits into
JuliaGPU:mainfrom
christiangnrd:subgroups
Open

KI Sub-groups#668
christiangnrd wants to merge 17 commits into
JuliaGPU:mainfrom
christiangnrd:subgroups

Conversation

@christiangnrd

@christiangnrd christiangnrd commented Dec 23, 2025

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

Your PR no longer requires formatting changes. Thank you for your contribution!

@christiangnrd christiangnrd mentioned this pull request Jan 2, 2026
@christiangnrd christiangnrd marked this pull request as draft January 3, 2026 19:47
Comment thread test/interface.jl
@christiangnrd christiangnrd force-pushed the subgroups branch 7 times, most recently from daea025 to 6343fd2 Compare January 7, 2026 16:55
@codecov

codecov Bot commented Jan 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.22%. Comparing base (8795f6c) to head (01b4b4b).

Files with missing lines Patch % Lines
src/pocl/backend.jl 73.07% 7 Missing ⚠️
src/interface.jl 0.00% 3 Missing ⚠️
src/pocl/compiler/compilation.jl 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #668      +/-   ##
==========================================
+ Coverage   64.04%   64.22%   +0.18%     
==========================================
  Files          23       23              
  Lines        1969     2010      +41     
==========================================
+ Hits         1261     1291      +30     
- Misses        708      719      +11     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@christiangnrd christiangnrd force-pushed the subgroups branch 5 times, most recently from f0a545c to 8858825 Compare February 19, 2026 23:54
@christiangnrd christiangnrd marked this pull request as ready for review February 20, 2026 00:13
@christiangnrd christiangnrd force-pushed the subgroups branch 3 times, most recently from 7ddba7e to 8de2c42 Compare March 24, 2026 10:29
@JuliaGPU JuliaGPU deleted a comment from github-actions Bot Mar 24, 2026
@christiangnrd christiangnrd force-pushed the subgroups branch 2 times, most recently from 409a1e7 to 08a8130 Compare May 28, 2026 22:53
@christiangnrd christiangnrd force-pushed the subgroups branch 3 times, most recently from b08bc66 to 2a9d804 Compare July 2, 2026 13:15
return config
end
@noinline function _compiler_config(dev; kernel = true, name = nothing, always_inline = false, kwargs...)
@noinline function _compiler_config(dev; kernel = true, name = nothing, always_inline = false, sub_group_size::Union{Nothing, Int} = 32, kwargs...)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you try different defaults here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't. I just went with what is most common on the GPU side

@christiangnrd

christiangnrd commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

@vchuravy I added a supports_subgroup function to KA that defaults to true since it only really needs to be defined in OpenCL.jl. If you agree with that approach I'll revert CI pointing to my intrinsicsnew branches and merge this!

Comment thread src/pocl/backend.jl
@christiangnrd christiangnrd force-pushed the subgroups branch 2 times, most recently from 6d6616a to 5c2d911 Compare July 4, 2026 16:29
Comment thread src/KernelAbstractions.jl Outdated
All backends must support them
@christiangnrd christiangnrd requested a review from vchuravy July 9, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants