Skip to content

Commit

Permalink
Make dlcsr respect validation print
Browse files Browse the repository at this point in the history
  • Loading branch information
tewaro committed Aug 27, 2024
1 parent a23bb97 commit 5dc6c89
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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::uint64_t val = graph.getData(graph.getGlobalTopologyID(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 5dc6c89

Please sign in to comment.