apeforest commented on a change in pull request #17297: Fix NCCL Cmake
autodetect issue
URL: https://github.com/apache/incubator-mxnet/pull/17297#discussion_r368079950
##########
File path: cmake/Modules/FindNCCL.cmake
##########
@@ -55,6 +67,23 @@ find_library(NCCL_LIBRARIES
$ENV{NCCL_DIR}/lib
)
+# if not found in any of the above paths, finally, check in the
/usr/local/cuda for UNIX systems
+if (UNIX)
+ set (search_paths "/usr/local/cuda")
+
+ find_path(NCCL_INCLUDE_DIRS
+ NAMES nccl.h
Review comment:
Sorry for being picky, but isn't the indent supposed to be 2 space for all?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services