Skip to content

Commit

Permalink
Merge Pull Request #12454 from trilinos/Trilinos/tpetra-fix-labels
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'Tpetra: fix labels'
PR Author: jhux2
  • Loading branch information
trilinos-autotester authored Oct 27, 2023
2 parents 8fbe29b + bf9ec26 commit 849395e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/tpetra/core/src/Tpetra_DistObject_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,8 @@ namespace Tpetra {
using Details::ProfilingRegion;

const bool commOnHost = ! Behavior::assumeMpiIsGPUAware ();
const char funcNameHost[] = "Tpetra::DistObject::doTransfer[Host]";
const char funcNameDevice[] = "Tpetra::DistObject::doTransfer[Device]";
const char funcNameHost[] = "Tpetra::DistObject::beginTransfer[Host]";
const char funcNameDevice[] = "Tpetra::DistObject::beginTransfer[Device]";
const char *funcName = commOnHost ? funcNameHost : funcNameDevice;

ProfilingRegion region_doTransfer(funcName);
Expand Down Expand Up @@ -1162,8 +1162,8 @@ namespace Tpetra {
using Details::ProfilingRegion;

const bool commOnHost = ! Behavior::assumeMpiIsGPUAware ();
const char funcNameHost[] = "Tpetra::DistObject::doTransfer[Host]";
const char funcNameDevice[] = "Tpetra::DistObject::doTransfer[Device]";
const char funcNameHost[] = "Tpetra::DistObject::endTransfer[Host]";
const char funcNameDevice[] = "Tpetra::DistObject::endTransfer[Device]";
const char *funcName = commOnHost ? funcNameHost : funcNameDevice;
ProfilingRegion region_doTransfer(funcName);
const bool verbose = Behavior::verbose("DistObject");
Expand Down

0 comments on commit 849395e

Please sign in to comment.