Skip to content

Commit c8e8c42

Browse files
committed
fix fwd Wait ABI
1 parent 7afbf46 commit c8e8c42

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

test/integration/MPI/nonblocking_halo.jl

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,16 @@ if rank != np - 1
6060
@test dx[end - 1] == Float64(rank + rank + 1) # Send -> += Recv
6161
end
6262

63-
# TODO:
64-
# fill!(dx, Float64(rank))
65-
# autodiff(Forward, halo, Duplicated(x, dx))
66-
# MPI.Barrier(MPI.COMM_WORLD)
63+
fill!(dx, Float64(rank))
64+
autodiff(Forward, halo, Duplicated(x, dx))
65+
MPI.Barrier(MPI.COMM_WORLD)
6766

68-
# @test dx[nl + 1] == Float64(rank)
69-
# if rank != 0
70-
# @test dx[1] == Float64(rank - 1)
71-
# @test dx[2] == Float64(rank)
72-
# end
73-
# if rank != np - 1
74-
# @test dx[end] == Float64(rank + 1)
75-
# @test dx[end - 1] == Float64(rank)
76-
# end
67+
@test dx[nl + 1] == Float64(rank)
68+
if rank != 0
69+
@test dx[1] == Float64(rank - 1)
70+
@test dx[2] == Float64(rank)
71+
end
72+
if rank != np - 1
73+
@test dx[end] == Float64(rank + 1)
74+
@test dx[end - 1] == Float64(rank)
75+
end

0 commit comments

Comments
 (0)