You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/09 21:43:36 UTC

[GitHub] zhanghang1989 opened a new issue #11622: CUDA 9.2 Dev Mode Compiling Failed

zhanghang1989 opened a new issue #11622: CUDA 9.2 Dev Mode Compiling Failed
URL: https://github.com/apache/incubator-mxnet/issues/11622
 
 
   ## Description
   Compiling using cuda 9.2 and cudnn with the command ``make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 DEV=1``
   
   ```
   src/operator/contrib/deformable_psroi_pooling.cu: In member function ‘void mxnet::op::DeformablePSROIPoolingOp<xpu, DType>::Backward(const mxnet::OpContext&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::TBlob>&, const 
   std::vector<mxnet::TBlob>&, const std::vector<mxnet::OpReqType>&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::TBlob>&) [with xpu = mshadow::gpu; DType = mshadow::half::half_t]’:
   src/operator/contrib/deformable_psroi_pooling.cu:353:61: warning: ‘trans.mshadow::Tensor<mshadow::gpu, 4, mshadow::half::half_t>::dptr_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        const DType *bottom_trans = no_trans ? NULL : trans.dptr_;
                                                                ^
   src/operator/contrib/./deformable_psroi_pooling-inl.h:153:34: note: ‘trans.mshadow::Tensor<mshadow::gpu, 4, mshadow::half::half_t>::dptr_’ was declared here
   src/operator/contrib/deformable_psroi_pooling.cu: In member function ‘void mxnet::op::DeformablePSROIPoolingOp<xpu, DType>::Backward(const mxnet::OpContext&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::TBlob>&, const 
   std::vector<mxnet::TBlob>&, const std::vector<mxnet::OpReqType>&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::TBlob>&) [with xpu = mshadow::gpu; DType = double]’:
   src/operator/contrib/deformable_psroi_pooling.cu:353:61: warning: ‘trans.mshadow::Tensor<mshadow::gpu, 4, double>::dptr_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        const DType *bottom_trans = no_trans ? NULL : trans.dptr_;
                                                                ^
   src/operator/contrib/./deformable_psroi_pooling-inl.h:153:34: note: ‘trans.mshadow::Tensor<mshadow::gpu, 4, double>::dptr_’ was declared here
   /usr/local/cuda/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode
    arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=[sm_70,compute_70] --fatbin-options -compress-all -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/ubuntu/gi
   t/incubator-mxnet/3rdparty/mshadow/ -I/home/ubuntu/git/incubator-mxnet/3rdparty/dmlc-core/include -fPIC -I/home/ubuntu/git/incubator-mxnet/3rdparty/tvm/nnvm/include -I/home/ubuntu/git/incubator-mxnet/3rdparty/dlpack/include -I/home/
   ubuntu/git/incubator-mxnet/3rdparty/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHAD
   OW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/local/include/opencv -I/usr/local/include -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_LAPACK -DMSHADOW_USE_CUDNN=1  -I/home/ubuntu/git/incub
   ator-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0" -M -MT build/src/ndarray/ndarray_function_gpu.o src/ndarray/ndarray_function.cu >build/src/ndarray/ndarray_function_gpu.d
   src/operator/contrib/deformable_psroi_pooling.cu: In member function ‘void mxnet::op::DeformablePSROIPoolingOp<xpu, DType>::Backward(const mxnet::OpContext&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::TBlob>&, const 
   std::vector<mxnet::TBlob>&, const std::vector<mxnet::OpReqType>&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::TBlob>&) [with xpu = mshadow::gpu; DType = float]’:
   src/operator/contrib/deformable_psroi_pooling.cu:353:61: warning: ‘trans.mshadow::Tensor<mshadow::gpu, 4, float>::dptr_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        const DType *bottom_trans = no_trans ? NULL : trans.dptr_;
                                                                ^
   src/operator/contrib/./deformable_psroi_pooling-inl.h:153:34: note: ‘trans.mshadow::Tensor<mshadow::gpu, 4, float>::dptr_’ was declared here
   ```
   
   
   ## Environment info (Required)
   
   Ubuntu 16.04, cuda 9.2 cudnn v7.1, AWS P3-16x

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services