diff --git a/microbench/bfs/src/main.cpp b/microbench/bfs/src/main.cpp index ba611d8d..6d6d2224 100644 --- a/microbench/bfs/src/main.cpp +++ b/microbench/bfs/src/main.cpp @@ -91,9 +91,21 @@ void HBMainMDLCSR(pando::Vector srcVertices, std::uint64_t numVer PANDO_DRV_SET_STAGE_INIT(); PANDO_DRV_SET_BYPASS_FLAG(); +#ifdef DEBUG_PRINTS +#ifdef PANDO_RT_USE_BACKEND_DRVX + std::cerr << "Cycle before graph construction: " << DrvAPI::cycle() << std::endl; +#endif +#endif + Graph graph = galois::initializeELDLCSR(filename, numVertices); filename.deinitialize(); +#ifdef DEBUG_PRINTS +#ifdef PANDO_RT_USE_BACKEND_DRVX + std::cerr << "Cycle after graph construction: " << DrvAPI::cycle() << std::endl; +#endif +#endif + #ifdef DEBUG_PRINTS for (std::uint64_t i = 0; i < numVertices; i++) { std::uint64_t host = graph.getPhysicalHostID(i); diff --git a/pando-rt/include/pando-rt/drv_info.hpp b/pando-rt/include/pando-rt/drv_info.hpp index 68f50122..ac740563 100644 --- a/pando-rt/include/pando-rt/drv_info.hpp +++ b/pando-rt/include/pando-rt/drv_info.hpp @@ -5,6 +5,7 @@ #define PANDO_RT_DRV_INFO_HPP_ #ifdef PANDO_RT_USE_BACKEND_DRVX +#include "DrvAPIInfo.hpp" namespace DrvAPI { void setStageInit();