Skip to content

Commit

Permalink
use cerr instead of cout
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwu928 committed Aug 21, 2024
1 parent d11092f commit da199e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microbench/bfs/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void HBMainMDLCSR(pando::Vector<std::uint64_t> srcVertices, std::uint64_t numVer

#ifdef DEBUG_PRINTS
#ifdef PANDO_RT_USE_BACKEND_DRVX
std::cout << "Cycle before graph construction: " << DrvAPI::cycle() << std::endl;
std::cerr << "Cycle before graph construction: " << DrvAPI::cycle() << std::endl;
#endif
#endif

Expand All @@ -102,7 +102,7 @@ void HBMainMDLCSR(pando::Vector<std::uint64_t> srcVertices, std::uint64_t numVer

#ifdef DEBUG_PRINTS
#ifdef PANDO_RT_USE_BACKEND_DRVX
std::cout << "Cycle after graph construction: " << DrvAPI::cycle() << std::endl;
std::cerr << "Cycle after graph construction: " << DrvAPI::cycle() << std::endl;
#endif
#endif

Expand Down

0 comments on commit da199e0

Please sign in to comment.