Skip to content

[SPIRVIntrinsics] Sub-group shuffle & barrier#420

Merged
christiangnrd merged 1 commit intomasterfrom
subgroupintr
Feb 18, 2026
Merged

[SPIRVIntrinsics] Sub-group shuffle & barrier#420
christiangnrd merged 1 commit intomasterfrom
subgroupintr

Conversation

@christiangnrd
Copy link
Member

SPIRVIntrinsics half of #413 since I can't merge before buildkite tests pass and 1.10 won't pass tests until SPIRVIntrinsics 0.5.7 is released

@christiangnrd christiangnrd enabled auto-merge (squash) February 18, 2026 18:51
@github-actions
Copy link
Contributor

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic master) to apply these changes.

Click here to view the suggested changes.
diff --git a/lib/intrinsics/src/synchronization.jl b/lib/intrinsics/src/synchronization.jl
index 7d88b69..c8abe6d 100644
--- a/lib/intrinsics/src/synchronization.jl
+++ b/lib/intrinsics/src/synchronization.jl
@@ -156,7 +156,9 @@ export barrier, work_group_barrier, sub_group_barrier
                     MemorySemantics.SequentiallyConsistent | mem_fence_flags_to_semantics(flags))
 
 @inline sub_group_barrier(flags, scope = memory_scope_sub_group) =
-    control_barrier(Scope.Subgroup, cl_scope_to_spirv(scope),
-                    MemorySemantics.SequentiallyConsistent | mem_fence_flags_to_semantics(flags))
+    control_barrier(
+    Scope.Subgroup, cl_scope_to_spirv(scope),
+    MemorySemantics.SequentiallyConsistent | mem_fence_flags_to_semantics(flags)
+)
 
 barrier(flags) = work_group_barrier(flags)

Co-Authored-By: Simeon David Schaub <simeon@schaub.rocks>
@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.84%. Comparing base (c18c157) to head (e53da04).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #420   +/-   ##
=======================================
  Coverage   80.84%   80.84%           
=======================================
  Files          12       12           
  Lines         736      736           
=======================================
  Hits          595      595           
  Misses        141      141           

☔ View full report in Codecov by Sentry.
📢 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 merged commit d476f50 into master Feb 18, 2026
36 of 39 checks passed
@christiangnrd christiangnrd deleted the subgroupintr branch February 18, 2026 19: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.

1 participant

Comments