Skip to content

Commit aee445f

Browse files
committed
Re-enable tests.
1 parent 121fdcb commit aee445f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/testsuite/broadcasting.jl

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ function broadcasting(AT)
4545
@test Array(gres) == cres
4646
end
4747

48-
# These tests are broken on CuArrays since we are missing `mapreduce` over device arrays
49-
# add them back once we have them
50-
# @testset "Tuple" begin
51-
# @test compare(AT, rand(ET, 3, N), rand(ET, 3, N), rand(ET, N), rand(ET, N), rand(ET, N)) do out, arr, a, b, c
52-
# broadcast!(out, arr, (a, b, c)) do xx, yy
53-
# xx + first(yy)
54-
# end
55-
# end
56-
# end
48+
@testset "Tuple" begin
49+
@test compare(AT, rand(ET, 3, N), rand(ET, 3, N), rand(ET, N), rand(ET, N), rand(ET, N)) do out, arr, a, b, c
50+
broadcast!(out, arr, (a, b, c)) do xx, yy
51+
xx + first(yy)
52+
end
53+
end
54+
end
5755

5856
@testset "Adjoint and Transpose" begin
5957
A = AT(rand(ET, N))

0 commit comments

Comments
 (0)