Skip to content

Commit

Permalink
Make dlcsr respect validation print
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaAtulTewari committed Aug 27, 2024
1 parent a23bb97 commit 7a4f350
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions microbench/bfs/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,15 @@ void HBMainDLCSR(pando::Vector<std::uint64_t> srcVertices, std::uint64_t numVert

PANDO_CHECK(bfs::SSSP_DLCSR(graph, srcVertex, next, phbfs));

#ifdef VALIDATION_PRINT
// Print Result
for (std::uint64_t i = 0; i < numVertices; i++) {
std::uint64_t val = graph.getData(graph.getTopologyID(i));
std::cout << val << std::endl;
}
#else
std::cout << "SSSP for source vertex " << srcVertex << " is done!" << std::endl;
#endif
}
}

Expand Down

0 comments on commit 7a4f350

Please sign in to comment.