Commit 407c0bc0 authored by Sandeep's avatar Sandeep Committed by Scott Cyphers

common code (#2577)

parent e2e60722
...@@ -113,7 +113,7 @@ void ngraph::LogPrintf(const char* fmt, ...) ...@@ -113,7 +113,7 @@ void ngraph::LogPrintf(const char* fmt, ...)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
va_end(args2); va_end(args2);
#ifdef NGRAPH_DISTRIBUTED_OMPI_ENABLE #ifdef NGRAPH_DISTRIBUTED_ENABLE
ngraph::Distributed dist; ngraph::Distributed dist;
std::printf("%s [RANK: %d]: %s\n", get_timestamp().c_str(), dist.get_rank(), buf.data()); std::printf("%s [RANK: %d]: %s\n", get_timestamp().c_str(), dist.get_rank(), buf.data());
#else #else
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#endif #endif
#include <vector> #include <vector>
#ifdef NGRAPH_DISTRIBUTED_OMPI_ENABLE #ifdef NGRAPH_DISTRIBUTED_ENABLE
#include "ngraph/distributed.hpp" #include "ngraph/distributed.hpp"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment