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)
 

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