Skip to content

Conversation

@kshyatt
Copy link
Member

@kshyatt kshyatt commented Jan 6, 2026

You can only access this kwarg via scan! now which is really annoying

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

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/src/accumulate.jl b/src/accumulate.jl
index 97c976c86..75cb675f6 100644
--- a/src/accumulate.jl
+++ b/src/accumulate.jl
@@ -201,16 +201,16 @@ end
 ## Base interface
 
 Base._accumulate!(op, output::AnyCuArray, input::AnyCuVector, dims::Nothing, init::Nothing, kwargs...) =
-    scan!(op, output, input; dims=1, kwargs...)
+    scan!(op, output, input; dims = 1, kwargs...)
 
 Base._accumulate!(op, output::AnyCuArray, input::AnyCuArray, dims::Integer, init::Nothing, kwargs...) =
-    scan!(op, output, input; dims=dims, kwargs...)
+    scan!(op, output, input; dims = dims, kwargs...)
 
 Base._accumulate!(op, output::AnyCuArray, input::CuVector, dims::Nothing, init::Some, kwargs...) =
-    scan!(op, output, input; dims=1, init=init, kwargs...)
+    scan!(op, output, input; dims = 1, init = init, kwargs...)
 
 Base._accumulate!(op, output::AnyCuArray, input::AnyCuArray, dims::Integer, init::Some, kwargs...) =
-    scan!(op, output, input; dims=dims, init=init, kwargs...)
+    scan!(op, output, input; dims = dims, init = init, kwargs...)
 
 Base.accumulate_pairwise!(op, result::AnyCuVector, v::AnyCuVector) = accumulate!(op, result, v)
 

@codecov
Copy link

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.43%. Comparing base (0c00b83) to head (133a3b6).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3011   +/-   ##
=======================================
  Coverage   89.43%   89.43%           
=======================================
  Files         148      148           
  Lines       12991    12991           
=======================================
  Hits        11619    11619           
  Misses       1372     1372           

☔ 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.

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.

2 participants