Update all_reduce algorithm to use internal put/get functions for updating pWrk and pSync arrays
* Change log_stride calcualtions to stride calculations * Update all_reduce example code to use team based interface
This commit is contained in:
@@ -136,11 +136,11 @@ void TesterArguments::get_rocshmem_arguments() {
|
||||
myid = roc_shmem_my_pe();
|
||||
|
||||
TestType type = (TestType)algorithm;
|
||||
if ((type != ReductionTestType) && (type != BarrierAllTestType) &&
|
||||
(type != SyncAllTestType) && (type != SyncTestType) &&
|
||||
(type != BroadcastTestType) && (type != AllToAllTestType) &&
|
||||
(type != FCollectTestType) && (type != TeamReductionTestType) &&
|
||||
(type != TeamBroadcastTestType) && (type != PingAllTestType)) {
|
||||
if ((type != BarrierAllTestType) && (type != SyncAllTestType) &&
|
||||
(type != SyncTestType) && (type != BroadcastTestType) &&
|
||||
(type != AllToAllTestType) && (type != FCollectTestType) &&
|
||||
(type != TeamReductionTestType) && (type != TeamBroadcastTestType) &&
|
||||
(type != PingAllTestType)) {
|
||||
if (numprocs != 2) {
|
||||
if (myid == 0) {
|
||||
std::cerr << "This test requires exactly two processes, we have "
|
||||
|
||||
Reference in New Issue
Block a user