Skip to content

Commit

Permalink
misc: minor update for debugging & compilation (dmlc#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin authored Aug 4, 2021
1 parent 80c53bc commit f25af22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ucx_van.h
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,8 @@ class UCXVan : public Van {
}
}
if (trial >= max_retry) {
CHECK(false) << "ucp_listener_create failed: " << ucs_status_string(status);
CHECK(false) << "ucp_listener_create failed: " << ucs_status_string(status)
<< " node=" << node.DebugString();
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/van_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define PS_RDMA_COMMON_H_

#if defined(DMLC_USE_RDMA) || defined(DMLC_USE_FABRIC)
#include <unistd.h>

#define DIVUP(x, y) (((x) + (y)-1) / (y))
#define ROUNDUP(x, y) (DIVUP((x), (y)) * (y))
Expand Down

0 comments on commit f25af22

Please sign in to comment.