Skip to content

Commit 7c923fb

Browse files
committed
Strip globalvars of types
1 parent 4a8e707 commit 7c923fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reduce.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ function __shfl_down end
9797
supports_warp_reduction(::Backend) = false
9898

9999
# Assume warp is 32 lanes.
100-
const __warpsize::UInt32 = 32
100+
const __warpsize = UInt32(32)
101101
# Maximum number of warps (for a groupsize = 1024).
102-
const __warp_bins::UInt32 = 32
102+
const __warp_bins = UInt32(32)
103103

104104
@inline function __warp_reduce(val, op)
105105
offset::UInt32 = __warpsize ÷ 0x02

0 commit comments

Comments
 (0)