Skip to content

Commit

Permalink
#1501: vrt_coll: change getStampInc to getNextStamp
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Aug 19, 2021
1 parent 17d483e commit f0d0b32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/manager.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ messaging::PendingSend CollectionManager::reduceMsgExpr(

auto cur_stamp = stamp;
if (cur_stamp == ReduceStamp{}) {
cur_stamp = proxy(idx).tryGetLocalPtr()->getStampInc();
cur_stamp = proxy(idx).tryGetLocalPtr()->getNextStamp();
}

collective::reduce::Reduce* r = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/types/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct CollectionBase : Indexable<IndexT> {
*
* \return the reduce stamp
*/
ReduceStampType getStampInc();
ReduceStampType getNextStamp();

/**
* \brief Zero out the reduce stamp
Expand Down
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/types/base.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void CollectionBase<ColT, IndexT>::zeroReduceStamp() {

template <typename ColT, typename IndexT>
typename CollectionBase<ColT, IndexT>::ReduceStampType
CollectionBase<ColT, IndexT>::getStampInc() {
CollectionBase<ColT, IndexT>::getNextStamp() {
ReduceStampType stamp;
stamp.init<ReduceSeqStampType>(reduce_stamp_);
++reduce_stamp_;
Expand Down

0 comments on commit f0d0b32

Please sign in to comment.