We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8e707 commit 7c923fbCopy full SHA for 7c923fb
src/reduce.jl
@@ -97,9 +97,9 @@ function __shfl_down end
97
supports_warp_reduction(::Backend) = false
98
99
# Assume warp is 32 lanes.
100
-const __warpsize::UInt32 = 32
+const __warpsize = UInt32(32)
101
# Maximum number of warps (for a groupsize = 1024).
102
-const __warp_bins::UInt32 = 32
+const __warp_bins = UInt32(32)
103
104
@inline function __warp_reduce(val, op)
105
offset::UInt32 = __warpsize ÷ 0x02
0 commit comments