|
57 | 57 | """ |
58 | 58 | wfred(op::Function, val::T) where T -> T |
59 | 59 |
|
60 | | -Performs a wavefront-wide reduction on `val` in each lane, and returns the |
61 | | -result. A limited subset of functions are available to be passed as `op`. When |
62 | | -`op` is one of `(+, max, min, &, |, ⊻)`, `T` may be |
63 | | -`<:Union{Cint, Clong, Cuint, Culong}`. When `op` is one of `(+, max, min)`, |
64 | | -`T` may also be `<:Union{Float32, Float64}`. |
| 60 | +Performs a wavefront-wide reduction on `val` in each lane, and returns the result. |
| 61 | +A limited subset of functions are available to be passed as `op`. |
| 62 | +When `op` is one of `(+, max, min, &, |, ⊻)`, `T` may be `<:Union{Cint, Clong, Cuint, Culong}`. |
| 63 | +When `op` is one of `(+, max, min)`, `T` may also be `<:Union{Float32, Float64}`. |
65 | 64 | """ |
66 | 65 | wfred |
67 | 66 |
|
68 | 67 | """ |
69 | 68 | wfscan(op::Function, val::T) where T -> T |
70 | 69 |
|
71 | 70 | Performs a wavefront-wide scan on `val` in each lane, and returns the |
72 | | -result. A limited subset of functions are available to be passed as `op`. When |
73 | | -`op` is one of `(+, max, min, &, |, ⊻)`, `T` may be |
74 | | -`<:Union{Cint, Clong, Cuint, Culong}`. When `op` is one of `(+, max, min)`, |
75 | | -`T` may also be `<:Union{Float32, Float64}`. |
| 71 | +result. A limited subset of functions are available to be passed as `op`. |
| 72 | +When `op` is one of `(+, max, min, &, |, ⊻)`, `T` may be `<:Union{Cint, Clong, Cuint, Culong}`. |
| 73 | +When `op` is one of `(+, max, min)`, `T` may also be `<:Union{Float32, Float64}`. |
76 | 74 | """ |
77 | 75 | wfscan |
78 | 76 |
|
|
0 commit comments