diff --git a/regtest/basic/rt-make-2/main.cpp b/regtest/basic/rt-make-2/main.cpp index 6756773289a16114a75facadb9fb1b1bba678d70..55e837c0f5d2eb04424ce71a6d1658aaaeef2af9 100644 --- a/regtest/basic/rt-make-2/main.cpp +++ b/regtest/basic/rt-make-2/main.cpp @@ -38,6 +38,18 @@ void run(Communicator& comm){ comm.Sum(&a[0],a.size()); dump(comm,ofs,a); + reset(comm,a); + comm.Prod(&a[0],a.size()); + dump(comm,ofs,a); + + reset(comm,a); + comm.Max(&a[0],a.size()); + dump(comm,ofs,a); + + reset(comm,a); + comm.Min(&a[0],a.size()); + dump(comm,ofs,a); + reset(comm,a); comm.Bcast(&a[0],a.size(),0); dump(comm,ofs,a); diff --git a/regtest/basic/rt-make-2/output0.reference b/regtest/basic/rt-make-2/output0.reference index daae14a3eea8e58fbe1844852502ee164aa21380..226b019270a7513e0a22c9d45090b69cf6886e8d 100644 --- a/regtest/basic/rt-make-2/output0.reference +++ b/regtest/basic/rt-make-2/output0.reference @@ -1,5 +1,8 @@ 1 6 12 18 24 30 36 42 48 54 60 66 72 + 6 48 162 384 750 1296 2058 3072 4374 6000 7986 10368 + 3 6 9 12 15 18 21 24 27 30 33 36 + 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 3 6 9 12 15 18 21 24 27 30 33 36 1 2 3 4 5 6 7 8 9 10 11 12 diff --git a/regtest/basic/rt-make-2/output1.reference b/regtest/basic/rt-make-2/output1.reference index 02f889b5f80b32964dd3cc8979c34993f5a5a415..246821fb952898ef9bcca196c8fa4f7ff912cc77 100644 --- a/regtest/basic/rt-make-2/output1.reference +++ b/regtest/basic/rt-make-2/output1.reference @@ -1,5 +1,8 @@ 1 6 12 18 24 30 36 42 48 54 60 66 72 + 6 48 162 384 750 1296 2058 3072 4374 6000 7986 10368 + 3 6 9 12 15 18 21 24 27 30 33 36 + 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 3 6 9 12 15 18 21 24 27 30 33 36 2 4 6 8 10 12 14 16 18 20 22 24 diff --git a/regtest/basic/rt-make-2/output2.reference b/regtest/basic/rt-make-2/output2.reference index 2baff966c4c5f4d61fe78156eef45d9057e4ec7d..7edf3e8be26505aaca067b98e4fb8191c71aeab0 100644 --- a/regtest/basic/rt-make-2/output2.reference +++ b/regtest/basic/rt-make-2/output2.reference @@ -1,5 +1,8 @@ 1 6 12 18 24 30 36 42 48 54 60 66 72 + 6 48 162 384 750 1296 2058 3072 4374 6000 7986 10368 + 3 6 9 12 15 18 21 24 27 30 33 36 + 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 3 6 9 12 15 18 21 24 27 30 33 36 3 6 9 12 15 18 21 24 27 30 33 36