Skip to content

Commit 8dd1ce9

Browse files
authored
Merge pull request #48 from JuliaGPU/vc/accumulate_alg
Switch default algorithm for accumulate to ScanPrefixes
2 parents 6e38e60 + 2da8696 commit 8dd1ce9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/accumulate/accumulate.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ function _accumulate_impl!(
160160
dims::Union{Nothing, Int}=nothing,
161161
inclusive::Bool=true,
162162

163-
alg::AccumulateAlgorithm=DecoupledLookback(),
163+
# FIXME: Switch back to `DecoupledLookback()` as the default algorithm
164+
# once https://github.com/JuliaGPU/AcceleratedKernels.jl/pull/44 is merged.
165+
alg::AccumulateAlgorithm=ScanPrefixes(),
164166

165167
# CPU settings
166168
max_tasks::Int=Threads.nthreads(),

0 commit comments

Comments
 (0)