anirudh2290 edited a comment on issue #16612: Compilation fails in master Cuda 
10.1 GCC 7.4 Ubuntu 18.04
URL: 
https://github.com/apache/incubator-mxnet/issues/16612#issuecomment-546153141
 
 
   My earlier theory related to `__thread` was wrong. I am not able to 
reproduce it with : 
   
   ```
   mkdir build && cd build && cmake -DVERBOSE=1 -DUSE_CUDA=ON -DUSE_CUDNN=ON 
-DUSE_OPENMP=ON -DCMAKE_BUILD_TYPE=Debug -DUSE_DIST_KVSTORE=0 -DUSE_OPENCV=0 
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.1 -DCUDNN_ROOT=/usr/local/cuda-10.1 
-DUSE_MKLDNN=0 -DUSE_MKL_IF_AVAILABLE=0 -DUSE_MKLML_MKL=0 -DUSE_ASAN=0 -GNinja 
-DUSE_OPERATOR_TUNING=1 -DUSE_CPP_PACKAGE=ON -DCUDA_ARCH_NAME=Auto 
-DUSE_INT64_TENSOR_SIZE=OFF -DUSE_TENSORRT=OFF -DUSE_NCCL=ON ..
   ninja -v
   ```
   
   Since CI passed without issues and my local build also passed with g++ 7.4 
(ubuntu 18.04, cuda 10.1) I am suspecting some issue with your setup. Can you 
omit ccache and run the build directly? Did you do the submodule update?  

----------------------------------------------------------------
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