Skip to content

Commit c137a8c

Browse files
committed
math: Make signbit return Bool
1 parent 8d0ba06 commit c137a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device/gcn/math.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ for jltype in (Float32, Float64)
6363
push!(MATH_INTRINSICS, GCNIntrinsic(:isfinite; inp_args=(jltype,), out_arg=Int32, tobool=true))
6464
push!(MATH_INTRINSICS, GCNIntrinsic(:isinf; inp_args=(jltype,), out_arg=Int32, tobool=true))
6565
push!(MATH_INTRINSICS, GCNIntrinsic(:isnan; inp_args=(jltype,), out_arg=Int32, tobool=true))
66-
push!(MATH_INTRINSICS, GCNIntrinsic(:signbit; inp_args=(jltype,), out_arg=Int32))
66+
push!(MATH_INTRINSICS, GCNIntrinsic(:signbit; inp_args=(jltype,), out_arg=Int32, tobool=true))
6767
end
6868

6969
for intr in MATH_INTRINSICS

0 commit comments

Comments
 (0)