Fix compilation issues with buck (#610)
* Fix compilation warning with -Wmisleading-indentation When compile with -Wmisleading-indentation, it reports warning: misleading indentation; statement is not part of the previous 'if' This patch fixes it * Avoid relative include file path We don't need relative include file paths for src/graph/*.h since src/ is already in CMake include_directories
Этот коммит содержится в:
@@ -18,7 +18,7 @@
|
||||
#include "npkit/npkit.h"
|
||||
#endif
|
||||
#include "graph.h"
|
||||
#include "../graph/topo.h"
|
||||
#include "graph/topo.h"
|
||||
|
||||
static_assert(sizeof(ncclNetHandle_t) <= CONNECT_SIZE, "NET Connect info is too large");
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "graph.h"
|
||||
#include "utils.h"
|
||||
#include "graph.h"
|
||||
#include "../graph/topo.h"
|
||||
#include "graph/topo.h"
|
||||
|
||||
struct ncclP2pBuff {
|
||||
void* directPtr;
|
||||
|
||||
Ссылка в новой задаче
Block a user