ChaiBapchya commented on a change in pull request #17297: Fix NCCL Cmake 
autodetect issue
URL: https://github.com/apache/incubator-mxnet/pull/17297#discussion_r369303550
 
 

 ##########
 File path: cmake/Modules/FindNCCL.cmake
 ##########
 @@ -31,7 +31,13 @@
 # install NCCL in the same location as the CUDA toolkit.
 # See https://github.com/caffe2/caffe2/issues/1601
 
-set(NCCL_ROOT_DIR "" CACHE PATH "Folder contains NVIDIA NCCL")
+set(NCCL_ROOT $ENV{NCCL_ROOT} CACHE PATH "Folder contains NVIDIA NCCL")
 
 Review comment:
   So I am guessing I should remove it here too?
   
   
https://github.com/ChaiBapchya/incubator-mxnet/blob/a9abba5a934755813481e6583435298a0c317957/cmake/Modules/FindNVTX.cmake#L18
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to