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
32
32
@test MPI. Reduce (rank, MPI. MIN, comm; root= root) == val
33
33
@test MPI. Reduce (rank, min, comm; root= root) == val
34
34
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
+
35
51
val = isroot ? sz : nothing
36
52
@test MPI. Reduce (1 , + , root, comm) == val
37
53
You can’t perform that action at this time.
0 commit comments