tianlanli commented on issue #16516: mxnet 0.10.0  compile fail
URL: 
https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543070162
 
 
   > `make -j8 > build.log 2>&1`
   > 
   > then
   > 
   > `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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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::Forward(const 
mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> 
&, const std::vector<mxnet::OpReqType, std::allocatormxnet::OpReqType> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &, const 
std::vector<mxnet::TBlob, std::allocatormxnet::TBlob> &) [with DType=float]"
   > (54): here
   > instantiation of "mxnet::op::CuDNNRNNOp::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