tianlanli commented on issue #16516: mxnet 0.10.0  compile fail
URL: 
https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543068059
 
 
   > > `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 
USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 > build.log 2>&1`
   > > then :
   > > `/incubator-mxnet/mshadow/mshadow/././half.h(19): error: class "__half" 
has no member "x"`
   > > `Makefile:211: recipe for target 
'build/src/operator/tensor/elemwise_binary_op_extended_gpu.o' failed`
   > > `make: *** [build/src/operator/tensor/sample_op_gpu.o] Error 1`
   > > ` errors detected in the compilation of 
"/tmp/tmpxft_00005ec6_00000000-8_elemwise_binary_scalar_op_extended.compute_50.cpp1.ii".
 Makefile:211: recipe for target 
'build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o' failed 
make: *** [build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o] 
Error 1`
   > > my cuda 10.1
   > 
   > I try cuda 8 again , wait
   
   I shift to cuda-8.0 ,then make
   
   `src/operator/./cudnn_rnn-inl.h(435): error: argument of type 
"cudnnRNNDescriptor_t" is incompatible with parameter of type "cudnnHandle_t"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: argument of type "uint32_t" is 
incompatible with parameter of type "cudnnRNNDescriptor_t"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: argument of type 
"cudnnDropoutDescriptor_t" is incompatible with parameter of type "int"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: argument of type 
"cudnnRNNInputMode_t" is incompatible with parameter of type 
"cudnnDropoutDescriptor_t"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: argument of type 
"cudnnDirectionMode_t" is incompatible with parameter of type 
"cudnnRNNInputMode_t"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: argument of type 
"cudnnRNNMode_t" is incompatible with parameter of type "cudnnDirectionMode_t"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: argument of type 
"cudnnDataType_t" is incompatible with parameter of type "cudnnRNNMode_t"
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   src/operator/./cudnn_rnn-inl.h(435): error: too few arguments in function 
call
             detected during:
               instantiation of "void 
mxnet::op::CuDNNRNNOp<DType>::Forward(const mxnet::OpContext &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const 
std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with DType=float]" 
   (54): here
               instantiation of 
"mxnet::op::CuDNNRNNOp<DType>::CuDNNRNNOp(mxnet::op::RNNParam) [with 
DType=float]" 
   src/operator/rnn.cu(20): here
   
   8 errors detected in the compilation of 
"/tmp/tmpxft_0000a3de_00000000-11_rnn.compute_50.cpp1.ii".
   Makefile:211: recipe for target 'build/src/operator/rnn_gpu.o' failed
   make: *** [build/src/operator/rnn_gpu.o] Error 2
   make: *** 正在等待未完成的任务....`
   

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