File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,22 @@ val = isroot ? 0 : nothing
3232@test MPI. Reduce (rank, MPI. MIN, comm; root= root) == val
3333@test MPI. Reduce (rank, min, comm; root= root) == val
3434
35+ val = isroot ? 1 : nothing
36+ input = isroot ? 1 : 0
37+ @test MPI. Reduce (input, MPI. BOR, comm; root= root) == val
38+ @test MPI. Reduce (input, | , comm; root= root) == val
39+
40+ val = isroot ? 1 : nothing
41+ input = isroot ? 1 : 0
42+ @test MPI. Reduce (input, MPI. BXOR, comm; root= root) == val
43+ @test MPI. Reduce (input, ⊻ , comm; root= root) == val
44+
45+ val = isroot ? 0 : nothing
46+ input = isroot ? 0 : 1
47+ @test MPI. Reduce (input, MPI. BAND, comm; root= root) == val
48+ @test MPI. Reduce (input, & , comm; root= root) == val
49+
50+
3551val = isroot ? sz : nothing
3652@test MPI. Reduce (1 , + , root, comm) == val
3753
You can’t perform that action at this time.
0 commit comments