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, ...)
#pragma GCC diagnostic pop
va_end(args2);
#ifdef NGRAPH_DISTRIBUTED_OMPI_ENABLE
#ifdef NGRAPH_DISTRIBUTED_ENABLE
ngraph::Distributed dist;
std::printf("%s [RANK: %d]: %s\n", get_timestamp().c_str(), dist.get_rank(), buf.data());
#else
......
......@@ -30,7 +30,7 @@
#endif
#include <vector>
#ifdef NGRAPH_DISTRIBUTED_OMPI_ENABLE
#ifdef NGRAPH_DISTRIBUTED_ENABLE
#include "ngraph/distributed.hpp"
#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