Skip to content

Commit efd5d79

Browse files
authored
Remove unneeded variable. (#1788)
1 parent 64878c6 commit efd5d79

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mapreduce.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ function GPUArrays.mapreducedim!(f::F, op::OP, R::AnyCuArray{T},
264264
partial = similar(R, (size(R)..., reduce_blocks))
265265
if init === nothing
266266
# without an explicit initializer we need to copy from the output container
267-
sz = prod(size(R))
268267
partial .= R
269268
end
270269
# NOTE: we can't use the previously-compiled kernel, since the type of `partial`

0 commit comments

Comments
 (0)