mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

win10+vs2019 link failed: error LNK2019: __int64 __cdecl mxnet::op::linalg_gesdd_workspace_query

Open SpaceView opened this issue 2 years ago • 4 comments

Description

Compile mxnetv2.0.0.beta0.rc1+ VS2019 + MKL

Error Message

link problem as below,

1>  正在创建库 E:/vMxnet/mxnet200beta0rc1/dev/Debug/mxnet_86.lib 和对象 E:/vMxnet/mxnet200beta0rc1/dev/Debug/mxnet_86.exp
1>np_matrix_rank.cu.obj : error LNK2019: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,double,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@N_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00N@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z),函数 "public: static unsigned __int64 __cdecl mxnet::op::WSQ<struct mshadow::gpu,double>::SVDWorkspaceSizeQuery(class mxnet::TBlob const &,class mxnet::TShape const &,class mxnet::TShape const &,class mxnet::TShape const &,struct mxnet::OpContext const &)" (?SVDWorkspaceSizeQuery@?$WSQ@Ugpu@mshadow@@N@op@mxnet@@SA_KAEBVTBlob@3@AEBVTShape@3@11AEBUOpContext@3@@Z) 中引用了该符号
1>np_pinv.cu.obj : error LNK2001: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,double,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@N_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00N@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z)
1>np_matrix_rank.cu.obj : error LNK2019: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,float,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@M_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00M@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z),函数 "public: static unsigned __int64 __cdecl mxnet::op::WSQ<struct mshadow::gpu,float>::SVDWorkspaceSizeQuery(class mxnet::TBlob const &,class mxnet::TShape const &,class mxnet::TShape const &,class mxnet::TShape const &,struct mxnet::OpContext const &)" (?SVDWorkspaceSizeQuery@?$WSQ@Ugpu@mshadow@@M@op@mxnet@@SA_KAEBVTBlob@3@AEBVTShape@3@11AEBUOpContext@3@@Z) 中引用了该符号
1>np_pinv.cu.obj : error LNK2001: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,float,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@M_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00M@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z)
1>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_det_backward_helper<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,double,struct mxnet::OpContext const &)" (??$linalg_batch_det_backward_helper@Ugpu@mshadow@@N_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@AEBU?$Tensor@Ugpu@mshadow@@$00N@1@0NAEBUOpContext@mxnet@@@Z),函数 "public: static void __cdecl mxnet::op::det_backward::op<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@N_J@det_backward@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$00N@mshadow@@0AEBU?$Tensor@Ugpu@mshadow@@$02N@4@AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@1AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
1>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_det_backward_helper<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,float,struct mxnet::OpContext const &)" (??$linalg_batch_det_backward_helper@Ugpu@mshadow@@M_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@AEBU?$Tensor@Ugpu@mshadow@@$00M@1@0MAEBUOpContext@mxnet@@@Z),函数 "public: static void __cdecl mxnet::op::det_backward::op<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@M_J@det_backward@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$00M@mshadow@@0AEBU?$Tensor@Ugpu@mshadow@@$02M@4@AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@1AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
1>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_getrf<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,bool,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_batch_getrf@Ugpu@mshadow@@N_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@_NPEAU?$Stream@Ugpu@mshadow@@@1@@Z),函数 "public: static void __cdecl mxnet::op::det::op<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@N_J@det@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$02N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00N@4@0AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
1>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_getrf<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,bool,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_batch_getrf@Ugpu@mshadow@@M_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@_NPEAU?$Stream@Ugpu@mshadow@@@1@@Z),函数 "public: static void __cdecl mxnet::op::det::op<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@M_J@det@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$02M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00M@4@0AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
1>crop.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@4@1@Z),函数 "void __cdecl mxnet::op::image::ResizeImplWrapper<struct mshadow::cpu>(struct mxnet::op::image::ResizeParam const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ResizeImplWrapper@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUResizeParam@012@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@2@Z) 中引用了该符号
1>resize.cc.obj : error LNK2001: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@4@1@Z)
1>crop.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@4@1@Z),函数 "void __cdecl mxnet::op::image::ResizeImplWrapper<struct mshadow::cpu>(struct mxnet::op::image::ResizeParam const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ResizeImplWrapper@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUResizeParam@012@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@2@Z) 中引用了该符号
1>resize.cc.obj : error LNK2001: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@4@1@Z)
1>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ToTensorImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,float> >(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,float>,int,float)" (??$ToTensorImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@3@U?$Tensor@Ugpu@mshadow@@$02M@3@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@4@U?$Tensor@Ugpu@mshadow@@$02M@4@HM@Z),函数 "void __cdecl mxnet::op::image::ToTensorOpForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ToTensorOpForward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
1>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ToTensorImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,float> >(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,float>,int,float)" (??$ToTensorImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@3@U?$Tensor@Ugpu@mshadow@@$03M@3@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@4@U?$Tensor@Ugpu@mshadow@@$03M@4@HM@Z),函数 "void __cdecl mxnet::op::image::ToTensorOpForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ToTensorOpForward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
1>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::NormalizeImplCUDA<class mshadow::bfloat::bf16_t>(struct mshadow::Stream<struct mshadow::gpu> *,class mshadow::bfloat::bf16_t const *,class mshadow::bfloat::bf16_t *,int,int,int,int,int,float,float,float,float,float,float)" (??$NormalizeImplCUDA@Vbf16_t@bfloat@mshadow@@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@PEBVbf16_t@bfloat@4@PEAV564@HHHHHMMMMMM@Z),函数 "void __cdecl mxnet::op::image::NormalizeOpForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$NormalizeOpForward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
1>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::NormalizeBackwardImplCUDA<class mshadow::bfloat::bf16_t>(struct mshadow::Stream<struct mshadow::gpu> *,class mshadow::bfloat::bf16_t const *,class mshadow::bfloat::bf16_t *,int,int,int,int,int,float,float,float)" (??$NormalizeBackwardImplCUDA@Vbf16_t@bfloat@mshadow@@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@PEBVbf16_t@bfloat@4@PEAV564@HHHHHMMM@Z),函数 "void __cdecl mxnet::op::image::NormalizeOpBackward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$NormalizeOpBackward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
1>np_multinomial_op.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::CheckPvalGPU<class mshadow::bfloat::bf16_t>(struct mxnet::OpContext const &,class mshadow::bfloat::bf16_t *,int)" (??$CheckPvalGPU@Vbf16_t@bfloat@mshadow@@@op@mxnet@@YAXAEBUOpContext@1@PEAVbf16_t@bfloat@mshadow@@H@Z),函数 "void __cdecl mxnet::op::NumpyMultinomialForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$NumpyMultinomialForward@Ucpu@mshadow@@@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@1@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@6@2@Z) 中引用了该符号
1>E:\vMxnet\mxnet200beta0rc1\dev\Debug\mxnet_86.dll : fatal error LNK1120: 13 个无法解析的外部命令

To Reproduce

Compile project with VS2019 + MKL MKL_USE_SINGLE_DYNAMIC_LIBRARY MKL_MULTI_THREAD USE_MKL_LAYERNORM

Environment

WINDOWS 10, VS20199, MXNETv2.0.0.beta0.rc1

anybody can help?

SpaceView avatar Jun 25 '22 01:06 SpaceView

@SpaceView can you provide more info about your environment? (MKL version, CUDA version, build script, hardware information etc.)

bgawrych avatar Jun 28 '22 15:06 bgawrych

MKL version: 2022.0.3, installation path: C:\Program Files (x86)\Intel\oneAPI\mkl\2022.0.3\include\oneapi

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>nvidia-smi
Mon Jul  4 12:21:24 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 512.15       Driver Version: 512.15       CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0 Off |                  N/A |
| N/A   46C    P0    15W /  N/A |      0MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

ASUS laptop, TUF Gaming
CPU: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz   2.69 GHz
GPU: rtx3050

for build script, I'm not sure which one you are referring to, since I'm using cmake-gui directly to generate the CMakeCache.txt, as below,

# This is the CMakeCache file.
# For build in directory: e:/vMxnet/mxnet200beta0rc1/dev
# It was generated by CMake: D:/Programs/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Selected BLAS library
BLAS:STRING=Open

//Path to a library.
BLAS_mkl_rt_LIBRARY:FILEPATH=C:/Program Files (x86)/Intel/oneAPI/mkl/2022.0.3/lib/intel64/mkl_rt.lib

//Build cpp examples
BUILD_CPP_EXAMPLES:BOOL=ON

//Build cython modules.
BUILD_CYTHON_MODULES:BOOL=OFF

//Path to extension to build
BUILD_EXTENSION_PATH:BOOL=OFF

//Build the testing tree.
BUILD_TESTING:BOOL=ON

//Header providing backtrace(3) facility
Backtrace_HEADER:STRING=backtrace.h

//Path to a file.
Backtrace_INCLUDE_DIR:PATH=Backtrace_INCLUDE_DIR-NOTFOUND

//Path to a library.
Backtrace_LIBRARY:FILEPATH=Backtrace_LIBRARY-NOTFOUND

//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/lib.exe

//ASM_MASM compiler
CMAKE_ASM_MASM_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/ml64.exe

//Flags used by the ASM_MASM compiler during all build types.
CMAKE_ASM_MASM_FLAGS:STRING=

//Flags used by the ASM_MASM compiler during DEBUG builds.
CMAKE_ASM_MASM_FLAGS_DEBUG:STRING=

//Flags used by the ASM_MASM compiler during MINSIZEREL builds.
CMAKE_ASM_MASM_FLAGS_MINSIZEREL:STRING=

//Flags used by the ASM_MASM compiler during RELEASE builds.
CMAKE_ASM_MASM_FLAGS_RELEASE:STRING=

//Flags used by the ASM_MASM compiler during RELWITHDEBINFO builds.
CMAKE_ASM_MASM_FLAGS_RELWITHDEBINFO:STRING=

//Semicolon separated list of supported configuration types, only
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything
// else will be ignored.
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo

//CUDA compiler
CMAKE_CUDA_COMPILER:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin/nvcc.exe

//Flags used by the CUDA compiler during all build types.
CMAKE_CUDA_FLAGS:STRING=-D_WINDOWS -Xcompiler="/W3 /GR /EHsc"

//Flags used by the CUDA compiler during DEBUG builds.
CMAKE_CUDA_FLAGS_DEBUG:STRING=-Xcompiler="-MDd -Zi -Ob0 -Od /RTC1"

//Flags used by the CUDA compiler during MINSIZEREL builds.
CMAKE_CUDA_FLAGS_MINSIZEREL:STRING=-Xcompiler="-MD -O1 -Ob1" -DNDEBUG

//Flags used by the CUDA compiler during RELEASE builds.
CMAKE_CUDA_FLAGS_RELEASE:STRING=-Xcompiler="-MD -O2 -Ob2" -DNDEBUG

//Flags used by the CUDA compiler during RELWITHDEBINFO builds.
CMAKE_CUDA_FLAGS_RELWITHDEBINFO:STRING=-Xcompiler="-MD -Zi -O2 -Ob1" -DNDEBUG

//Libraries linked by default with all CUDA applications.
CMAKE_CUDA_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG

//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG

//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files/mxnet

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/link.exe

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//Path to a program.
CMAKE_MT:FILEPATH=CMAKE_MT-NOTFOUND

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=mxnet

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//RC compiler
CMAKE_RC_COMPILER:FILEPATH=rc

//Flags for Windows Resource Compiler during all build types.
CMAKE_RC_FLAGS:STRING=-DWIN32

//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG

//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=

//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=

//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=OFF

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=OFF

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=OFF

//Colorize output during compilation
COLORIZE_OUTPUT:BOOL=ON

//Path to the coverage program that CTest uses for performing coverage
// inspection
COVERAGE_COMMAND:FILEPATH=COVERAGE_COMMAND-NOTFOUND

//Extra command line flags to pass to the coverage tool
COVERAGE_EXTRA_FLAGS:STRING=-l

//How many times to retry timed-out CTest submissions.
CTEST_SUBMIT_RETRY_COUNT:STRING=3

//How long to wait between timed-out CTest submissions.
CTEST_SUBMIT_RETRY_DELAY:STRING=5

CUDAToolkit_BIN_DIR:PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin

//Path to a file.
CUDAToolkit_INCLUDE_DIR:PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/include

//Path to a program.
CUDAToolkit_NVCC_EXECUTABLE:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin/nvcc.exe

//Path to a library.
CUDA_CUDART:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cudart.lib

//Path to a library.
CUDA_OpenCL_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/OpenCL.lib

//Path to a library.
CUDA_cublas_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cublas.lib

//Path to a library.
CUDA_cublas_static_LIBRARY:FILEPATH=CUDA_cublas_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_cuda_driver_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cuda.lib

//Path to a library.
CUDA_cudart_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cudart.lib

//Path to a library.
CUDA_cudart_static_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cudart_static.lib

//Path to a library.
CUDA_cufft_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cufft.lib

//Path to a library.
CUDA_cufft_static_LIBRARY:FILEPATH=CUDA_cufft_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_cufftw_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cufftw.lib

//Path to a library.
CUDA_culibos_LIBRARY:FILEPATH=CUDA_culibos_LIBRARY-NOTFOUND

//Path to a library.
CUDA_cupti_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/libnvvp/../extras/CUPTI/lib64/cupti.lib

//Path to a library.
CUDA_cupti_static_LIBRARY:FILEPATH=CUDA_cupti_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_curand_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/curand.lib

//Path to a library.
CUDA_curand_static_LIBRARY:FILEPATH=CUDA_curand_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_cusolver_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cusolver.lib

//Path to a library.
CUDA_cusolver_static_LIBRARY:FILEPATH=CUDA_cusolver_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_cusparse_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cusparse.lib

//Path to a library.
CUDA_cusparse_static_LIBRARY:FILEPATH=CUDA_cusparse_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppc.lib

//Path to a library.
CUDA_nppc_static_LIBRARY:FILEPATH=CUDA_nppc_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppial_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppial.lib

//Path to a library.
CUDA_nppial_static_LIBRARY:FILEPATH=CUDA_nppial_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppicc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppicc.lib

//Path to a library.
CUDA_nppicc_static_LIBRARY:FILEPATH=CUDA_nppicc_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppicom_LIBRARY:FILEPATH=CUDA_nppicom_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppicom_static_LIBRARY:FILEPATH=CUDA_nppicom_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppidei_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppidei.lib

//Path to a library.
CUDA_nppidei_static_LIBRARY:FILEPATH=CUDA_nppidei_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppif_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppif.lib

//Path to a library.
CUDA_nppif_static_LIBRARY:FILEPATH=CUDA_nppif_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppig_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppig.lib

//Path to a library.
CUDA_nppig_static_LIBRARY:FILEPATH=CUDA_nppig_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppim_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppim.lib

//Path to a library.
CUDA_nppim_static_LIBRARY:FILEPATH=CUDA_nppim_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppist_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppist.lib

//Path to a library.
CUDA_nppist_static_LIBRARY:FILEPATH=CUDA_nppist_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppisu_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppisu.lib

//Path to a library.
CUDA_nppisu_static_LIBRARY:FILEPATH=CUDA_nppisu_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nppitc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nppitc.lib

//Path to a library.
CUDA_nppitc_static_LIBRARY:FILEPATH=CUDA_nppitc_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_npps_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/npps.lib

//Path to a library.
CUDA_npps_static_LIBRARY:FILEPATH=CUDA_npps_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nvToolsExt_LIBRARY:FILEPATH=C:/Program Files/NVIDIA Corporation/NvToolsExt/lib/x64/nvToolsExt64_1.lib

//Path to a library.
CUDA_nvgraph_LIBRARY:FILEPATH=CUDA_nvgraph_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nvgraph_static_LIBRARY:FILEPATH=CUDA_nvgraph_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nvjpeg_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nvjpeg.lib

//Path to a library.
CUDA_nvjpeg_static_LIBRARY:FILEPATH=CUDA_nvjpeg_static_LIBRARY-NOTFOUND

//Path to a library.
CUDA_nvml_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nvml.lib

//Path to a library.
CUDA_nvrtc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/nvrtc.lib

//Path to cuDNN include directory.
CUDNN_INCLUDE:PATH=C:/Program Files/NVIDIA/CUDNN/v8.2/include

//Path to cuDNN library.
CUDNN_LIBRARY:FILEPATH=C:/Program Files/NVIDIA/CUDNN/v8.2/lib/x64/cudnn.lib

//cuDNN root folder
CUDNN_ROOT:PATH=C:/Program Files/NVIDIA/CUDNN/v8.2

//Path to cuTensor include directory.
CUTENSOR_INCLUDE:PATH=CUTENSOR_INCLUDE-NOTFOUND

//Path to cuTensor library.
CUTENSOR_LIBRARY:FILEPATH=CUTENSOR_LIBRARY-NOTFOUND

//cuTensor root folder
CUTENSOR_ROOT:PATH=/usr/local/cuda

//Maximum time allowed before CTest will kill the test.
DART_TESTING_TIMEOUT:STRING=1500

//Semicolon separated list of sanitizer names. E.g 'address;leak'.
// Supported sanitizers are
//\n  address, leak and thread.
DMLC_ENABLED_SANITIZERS:STRING=address;leak

//Build with dynamic CRT on Windows (/MD)
DMLC_FORCE_SHARED_CRT:BOOL=OFF

//Use santizer flags; to specify a custom path for sanitizers,
// set this variable a value that's not ON or OFF
DMLC_USE_SANITIZER:BOOL=OFF

//EXTRA OPERATORS PATH
EXTRA_OPERATORS:PATH=

//Path to a program.
GITCOMMAND:FILEPATH=C:/Programs/Git/cmd/git.exe

//Build google tests
GOOGLE_TEST:BOOL=OFF

//Path to a library.
GTEST_LIBRARY_DEBUG:FILEPATH=GTEST_LIBRARY_DEBUG-NOTFOUND

//Path to a library.
GTEST_MAIN_LIBRARY_DEBUG:FILEPATH=GTEST_MAIN_LIBRARY_DEBUG-NOTFOUND

//The directory containing a CMake configuration file for GTest.
GTest_DIR:PATH=GTest_DIR-NOTFOUND

//Install documentation
INSTALL_DOCUMENTATION:BOOL=OFF

//Install the example source files.
INSTALL_EXAMPLES:BOOL=OFF

//Folder contains user-installed intel libs
INTEL_HOME_ROOT:PATH=C:/cadence/Cadence/SPB_Data/intel

//Folder contains root-installed intel libs
INTEL_OPT_ROOT:PATH=/opt/intel

//Log exceptions but do not abort
LOG_FATAL_THROW:BOOL=ON

//Command to build the project
MAKECOMMAND:STRING=D:\Programs\CMake\bin\cmake.exe --build . --config "${CTEST_CONFIGURATION_TYPE}"

//Path to the memory checking command, used for memory error detection.
MEMORYCHECK_COMMAND:FILEPATH=MEMORYCHECK_COMMAND-NOTFOUND

//File that contains suppressions for the memory checker
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=

//Path to a file.
MKL_INCLUDE_DIR:PATH=C:/Program Files (x86)/Intel/oneAPI/mkl/2022.0.3/include

//Use multi-threading
MKL_MULTI_THREADED:BOOL=ON

//Use single dynamic library interface
MKL_USE_SINGLE_DYNAMIC_LIBRARY:BOOL=ON

//ON
MSHADOW_IN_CXX11:BOOL=OFF

//Build shared libraries instead of static libraries
MXNET_BUILD_SHARED_LIBS:BOOL=ON

//Target NVIDIA GPU achitecture.
//\nFormat: Auto | Common | All | LIST(ARCH_AND_PTX ...)
//\n- "Auto" detects local machine GPU compute arch at runtime.
//\n- "Common" and "All" cover common and entire subsets of architectures
//\n- ARCH_AND_PTX : NAME | NUM.NUM | NUM.NUM(NUM.NUM) | NUM.NUM+PTX
//\n- NAME: Fermi Kepler Maxwell Kepler+Tegra Kepler+Tesla Maxwell+Tegra
// Pascal Volta Turing
//\n- NUM: Any number. Only those pairs are currently accepted by
// NVCC though:
//\n       2.0 2.1 3.0 3.2 3.5 3.7 5.0 5.2 5.3 6.0 6.2 7.0 7.2 7.5
MXNET_CUDA_ARCH:STRING=Auto

//Build with dynamic CRT on Windows (/MD)
MXNET_FORCE_SHARED_CRT:BOOL=ON

//Path to a file.
OpenBLAS_INCLUDE_DIR:PATH=E:/vMxnet/openblasv0320/dev

//Path to a library.
OpenBLAS_LIB:FILEPATH=E:/vMxnet/openblasv0320/dev/lib/RELEASE/openblas.lib

//The directory containing a CMake configuration file for OpenCV.
OpenCV_DIR:PATH=D:/OpenCV455/dev

//CXX compiler flags for OpenMP parallelization
OpenMP_CXX_FLAGS:STRING=-openmp

//CXX compiler libraries for OpenMP parallelization
OpenMP_CXX_LIB_NAMES:STRING=

//C compiler flags for OpenMP parallelization
OpenMP_C_FLAGS:STRING=-openmp

//C compiler libraries for OpenMP parallelization
OpenMP_C_LIB_NAMES:STRING=

//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=C:/Python310/python.exe

//Name of the computer/site where compile is being run
SITE:STRING=LAPTOP-LHDHHCLV

//Enable Clang/GCC ASAN sanitizers.
USE_ASAN:BOOL=OFF

//Build with AZURE support
USE_AZURE:BOOL=OFF

//Build C++ Package
USE_CPP_PACKAGE:BOOL=OFF

//Build with CUDA support
USE_CUDA:BOOL=ON

//ON
USE_CUDNN:BOOL=ON

//Build with cuTENSOR support
USE_CUTENSOR:BOOL=ON

//Build with C++14 if the compiler supports it
USE_CXX14_IF_AVAILABLE:BOOL=OFF

//Build with DIST_KVSTORE support
USE_DIST_KVSTORE:BOOL=OFF

//Compress nvcc fatbin output
USE_FATBIN_COMPRESSION:BOOL=ON

//Build with GPerfTools support
USE_GPERFTOOLS:BOOL=OFF

//Compile with gprof (profiling) flag
USE_GPROF:BOOL=OFF

//Build with HDFS support
USE_HDFS:BOOL=OFF

//Use int64_t to represent the total number of elements in a tensor
USE_INT64_TENSOR_SIZE:BOOL=ON

//Build with Jemalloc support
USE_JEMALLOC:BOOL=OFF

//Build with lapack support
USE_LAPACK:BOOL=ON

//Use libjpeg-turbo
USE_LIBJPEG_TURBO:BOOL=OFF

//Use layer normalization from MKL, which is currently slower than
// internal. No effect unless USE_BLAS=MKL (or mkl).
USE_MKL_LAYERNORM:BOOL=ON

//Use MXNet library naming conventions.
USE_MXNET_LIB_NAMING:BOOL=ON

//Use NVidia NCCL with CUDA
USE_NCCL:BOOL=OFF

//Build with nvml support if found
USE_NVML:BOOL=ON

//Build with nvtx support if found
USE_NVTX:BOOL=ON

//Build with oneDNN support
USE_ONEDNN:BOOL=OFF

//Build with OpenCV support
USE_OPENCV:BOOL=ON

//Build with OpenMP
USE_OPENMP:BOOL=ON

//Enable auto-tuning of operators
USE_OPERATOR_TUNING:BOOL=OFF

//Use WARPCTC Plugins
USE_PLUGINS_WARPCTC:BOOL=OFF

//Build with S3 support
USE_S3:BOOL=OFF

//Print stack traces on segfaults.
USE_SIGNAL_HANDLER:BOOL=ON

//Build a separate DLL for each Cuda arch (Windows only).
USE_SPLIT_ARCH_DLL:BOOL=ON

//Enable inference optimization with TensorRT.
USE_TENSORRT:BOOL=OFF

//Enable use of TVM operator build system.
USE_TVM_OP:BOOL=OFF

//Enable use of Intel Amplifier XE (VTune)
USE_VTUNE:BOOL=OFF

//Value Computed by CMake
dmlc_BINARY_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/dev/3rdparty/dmlc-core

//Value Computed by CMake
dmlc_SOURCE_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/3rdparty/dmlc-core

//Value Computed by CMake
gtest_BINARY_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/dev/3rdparty/googletest/googletest

//Value Computed by CMake
gtest_SOURCE_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/3rdparty/googletest/googletest

//Build gtest's sample programs.
gtest_build_samples:BOOL=OFF

//Build all of gtest's own tests.
gtest_build_tests:BOOL=OFF

//Disable uses of pthreads in gtest.
gtest_disable_pthreads:BOOL=OFF

//Build gtest with internal symbols hidden in shared libraries.
gtest_hide_internal_symbols:BOOL=OFF

//Dependencies for the target
gtest_main_LIB_DEPENDS:STATIC=general;gtest;

//Value Computed by CMake
mshadow_BINARY_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/dev/3rdparty/mshadow

//Value Computed by CMake
mshadow_SOURCE_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/3rdparty/mshadow

//Value Computed by CMake
mxnet_BINARY_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1/dev

//Value Computed by CMake
mxnet_SOURCE_DIR:STATIC=E:/vMxnet/mxnet200beta0rc1


########################
# INTERNAL cache entries
########################

//STRINGS property for variable: BLAS
BLAS-STRINGS:INTERNAL=Atlas;Open;MKL
//ADVANCED property for variable: BLAS_mkl_rt_LIBRARY
BLAS_mkl_rt_LIBRARY-ADVANCED:INTERNAL=1
//Have function sgemm_
BLAS_mkl_rt_threadlibs_WORKS:INTERNAL=1
//ADVANCED property for variable: Backtrace_HEADER
Backtrace_HEADER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_INCLUDE_DIR
Backtrace_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_LIBRARY
Backtrace_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_MASM_COMPILER
CMAKE_ASM_MASM_COMPILER-ADVANCED:INTERNAL=1
CMAKE_ASM_MASM_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_MASM_FLAGS
CMAKE_ASM_MASM_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_MASM_FLAGS_DEBUG
CMAKE_ASM_MASM_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_MASM_FLAGS_MINSIZEREL
CMAKE_ASM_MASM_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_MASM_FLAGS_RELEASE
CMAKE_ASM_MASM_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_MASM_FLAGS_RELWITHDEBINFO
CMAKE_ASM_MASM_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=e:/vMxnet/mxnet200beta0rc1/dev
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=20
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=D:/Programs/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=D:/Programs/CMake/bin/cpack.exe
//ADVANCED property for variable: CMAKE_CTEST_COMMAND
CMAKE_CTEST_COMMAND-ADVANCED:INTERNAL=1
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=D:/Programs/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CUDA_COMPILER
CMAKE_CUDA_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS
CMAKE_CUDA_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_DEBUG
CMAKE_CUDA_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_MINSIZEREL
CMAKE_CUDA_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_RELEASE
CMAKE_CUDA_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_RELWITHDEBINFO
CMAKE_CUDA_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_STANDARD_LIBRARIES
CMAKE_CUDA_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 16 2019
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=x64
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Have include pthread.h
CMAKE_HAVE_PTHREAD_H:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=E:/vMxnet/mxnet200beta0rc1
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=5
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=D:/Programs/CMake/share/cmake-3.20
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_COMMAND
COVERAGE_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_EXTRA_FLAGS
COVERAGE_EXTRA_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_COUNT
CTEST_SUBMIT_RETRY_COUNT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_DELAY
CTEST_SUBMIT_RETRY_DELAY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDAToolkit_BIN_DIR
CUDAToolkit_BIN_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDAToolkit_INCLUDE_DIR
CUDAToolkit_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDAToolkit_NVCC_EXECUTABLE
CUDAToolkit_NVCC_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_CUDART
CUDA_CUDART-ADVANCED:INTERNAL=1
//Returned GPU architectures from detect_gpus tool
CUDA_GPU_DETECT_OUTPUT:INTERNAL=8.6
//ADVANCED property for variable: CUDA_OpenCL_LIBRARY
CUDA_OpenCL_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cublas_LIBRARY
CUDA_cublas_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cublas_static_LIBRARY
CUDA_cublas_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cuda_driver_LIBRARY
CUDA_cuda_driver_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cudart_LIBRARY
CUDA_cudart_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cudart_static_LIBRARY
CUDA_cudart_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cufft_LIBRARY
CUDA_cufft_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cufft_static_LIBRARY
CUDA_cufft_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cufftw_LIBRARY
CUDA_cufftw_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_culibos_LIBRARY
CUDA_culibos_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cupti_LIBRARY
CUDA_cupti_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cupti_static_LIBRARY
CUDA_cupti_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_curand_LIBRARY
CUDA_curand_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_curand_static_LIBRARY
CUDA_curand_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cusolver_LIBRARY
CUDA_cusolver_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cusolver_static_LIBRARY
CUDA_cusolver_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cusparse_LIBRARY
CUDA_cusparse_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cusparse_static_LIBRARY
CUDA_cusparse_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppc_LIBRARY
CUDA_nppc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppc_static_LIBRARY
CUDA_nppc_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppial_LIBRARY
CUDA_nppial_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppial_static_LIBRARY
CUDA_nppial_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppicc_LIBRARY
CUDA_nppicc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppicc_static_LIBRARY
CUDA_nppicc_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppicom_LIBRARY
CUDA_nppicom_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppicom_static_LIBRARY
CUDA_nppicom_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppidei_LIBRARY
CUDA_nppidei_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppidei_static_LIBRARY
CUDA_nppidei_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppif_LIBRARY
CUDA_nppif_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppif_static_LIBRARY
CUDA_nppif_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppig_LIBRARY
CUDA_nppig_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppig_static_LIBRARY
CUDA_nppig_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppim_LIBRARY
CUDA_nppim_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppim_static_LIBRARY
CUDA_nppim_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppist_LIBRARY
CUDA_nppist_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppist_static_LIBRARY
CUDA_nppist_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppisu_LIBRARY
CUDA_nppisu_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppisu_static_LIBRARY
CUDA_nppisu_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppitc_LIBRARY
CUDA_nppitc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppitc_static_LIBRARY
CUDA_nppitc_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_npps_LIBRARY
CUDA_npps_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_npps_static_LIBRARY
CUDA_npps_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvToolsExt_LIBRARY
CUDA_nvToolsExt_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvgraph_LIBRARY
CUDA_nvgraph_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvgraph_static_LIBRARY
CUDA_nvgraph_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvjpeg_LIBRARY
CUDA_nvjpeg_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvjpeg_static_LIBRARY
CUDA_nvjpeg_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvml_LIBRARY
CUDA_nvml_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvrtc_LIBRARY
CUDA_nvrtc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDNN_INCLUDE
CUDNN_INCLUDE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDNN_LIBRARY
CUDNN_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDNN_ROOT
CUDNN_ROOT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUTENSOR_INCLUDE
CUTENSOR_INCLUDE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUTENSOR_LIBRARY
CUTENSOR_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUTENSOR_ROOT
CUTENSOR_ROOT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_TESTING_TIMEOUT
DART_TESTING_TIMEOUT-ADVANCED:INTERNAL=1
//Have include cxxabi.h
DMLC_CXXABI_H_PRESENT:INTERNAL=
//Have symbol fopen64
DMLC_FOPEN_64_PRESENT:INTERNAL=
//Have symbol nanosleep
DMLC_NANOSLEEP_PRESENT:INTERNAL=
//Details about finding BLAS
FIND_PACKAGE_MESSAGE_DETAILS_BLAS:INTERNAL=[C:/Program Files (x86)/Intel/oneAPI/mkl/2022.0.3/lib/intel64/mkl_rt.lib][v()]
//Details about finding CUDAToolkit
FIND_PACKAGE_MESSAGE_DETAILS_CUDAToolkit:INTERNAL=[C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/include][C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/x64/cudart.lib][C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin/nvcc.exe][v11.5.119()]
//Details about finding CUDNN
FIND_PACKAGE_MESSAGE_DETAILS_CUDNN:INTERNAL=[C:/Program Files/NVIDIA/CUDNN/v8.2/lib/x64/cudnn.lib][C:/Program Files/NVIDIA/CUDNN/v8.2/include][v()]
//Details about finding GTest
FIND_PACKAGE_MESSAGE_DETAILS_GTest:INTERNAL=[gtest][E:/vMxnet/mxnet200beta0rc1/3rdparty/googletest/googletest/include][gtest_main][v()]
//Details about finding OpenCV
FIND_PACKAGE_MESSAGE_DETAILS_OpenCV:INTERNAL=[D:/OpenCV455/dev][cfound components: core highgui imgproc imgcodecs ][v4.5.5()]
//Details about finding OpenMP
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][TRUE][c ][v2.0()]
//Details about finding OpenMP_C
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_C:INTERNAL=[-openmp][v2.0()]
//Details about finding OpenMP_CXX
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_CXX:INTERNAL=[-openmp][v2.0()]
//Details about finding Python3
FIND_PACKAGE_MESSAGE_DETAILS_Python3:INTERNAL=[C:/Python310/python.exe][cfound components: Interpreter ][v3.10.4()]
//Details about finding PythonInterp
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[C:/Python310/python.exe][v3.10.4()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: GITCOMMAND
GITCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GTEST_LIBRARY_DEBUG
GTEST_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GTEST_MAIN_LIBRARY_DEBUG
GTEST_MAIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//Have library rt
HAVE_CLOCK_GETTIME_IN_LIBRT:INTERNAL=
//ADVANCED property for variable: MAKECOMMAND
MAKECOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_COMMAND
MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_SUPPRESSIONS_FILE
MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenBLAS_INCLUDE_DIR
OpenBLAS_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenBLAS_LIB
OpenBLAS_LIB-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
OpenMP_COMPILE_RESULT_CXX_openmp:INTERNAL=TRUE
//Result of TRY_COMPILE
OpenMP_COMPILE_RESULT_C_openmp:INTERNAL=TRUE
//ADVANCED property for variable: OpenMP_CXX_FLAGS
OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_CXX_LIB_NAMES
OpenMP_CXX_LIB_NAMES-ADVANCED:INTERNAL=1
//CXX compiler's OpenMP specification date
OpenMP_CXX_SPEC_DATE:INTERNAL=200203
//ADVANCED property for variable: OpenMP_C_FLAGS
OpenMP_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_C_LIB_NAMES
OpenMP_C_LIB_NAMES-ADVANCED:INTERNAL=1
//C compiler's OpenMP specification date
OpenMP_C_SPEC_DATE:INTERNAL=200203
//Result of TRY_COMPILE
OpenMP_SPECTEST_CXX_:INTERNAL=TRUE
//Result of TRY_COMPILE
OpenMP_SPECTEST_C_:INTERNAL=TRUE
//ADVANCED property for variable: PYTHON_EXECUTABLE
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SITE
SITE-ADVANCED:INTERNAL=1
//Build with x86 F16C instruction support
USE_F16C:INTERNAL=ON
//Build with x86 SSE instruction support
USE_SSE:INTERNAL=OFF
//Have symbol backtrace
_Backtrace_SYM_FOUND:INTERNAL=
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=C:/Program Files/mxnet
//Path to a program.
_Python3_EXECUTABLE:INTERNAL=C:/Python310/python.exe
//Python3 Properties
_Python3_INTERPRETER_PROPERTIES:INTERNAL=Python;3;10;4;64;;cp310-win_amd64;C:\Python310\Lib;C:\Python310\Lib;C:\Python310\Lib\site-packages;C:\Python310\Lib\site-packages
_Python3_INTERPRETER_SIGNATURE:INTERNAL=7df3158d636d36d5081bf361c4bf02b0
//Result of TRY_COMPILE
compile_result:INTERNAL=TRUE
//ADVANCED property for variable: gtest_build_samples
gtest_build_samples-ADVANCED:INTERNAL=1
//ADVANCED property for variable: gtest_build_tests
gtest_build_tests-ADVANCED:INTERNAL=1
//ADVANCED property for variable: gtest_disable_pthreads
gtest_disable_pthreads-ADVANCED:INTERNAL=1
//ADVANCED property for variable: gtest_hide_internal_symbols
gtest_hide_internal_symbols-ADVANCED:INTERNAL=1
//Result of TRY_RUN
run_result:INTERNAL=0

SpaceView avatar Jul 04 '22 07:07 SpaceView

@SpaceView which BLAS you want to use? MKL or OpenBLAS? because you're setting MKL flags, but in the CMakeCache there is

//Selected BLAS library
BLAS:STRING=Open

bgawrych avatar Jul 05 '22 09:07 bgawrych

@bgawrych
I tried again and everything is the same if I use

BLAS:STRING=MKL

--------------> SAME ERROR:

2>np_matrix_rank.cu.obj : error LNK2019: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,double,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@N_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00N@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z),函数 "public: static unsigned __int64 __cdecl mxnet::op::WSQ<struct mshadow::gpu,double>::SVDWorkspaceSizeQuery(class mxnet::TBlob const &,class mxnet::TShape const &,class mxnet::TShape const &,class mxnet::TShape const &,struct mxnet::OpContext const &)" (?SVDWorkspaceSizeQuery@?$WSQ@Ugpu@mshadow@@N@op@mxnet@@SA_KAEBVTBlob@3@AEBVTShape@3@11AEBUOpContext@3@@Z) 中引用了该符号
2>np_pinv.cu.obj : error LNK2001: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,double,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,double> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@N_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00N@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z)
2>np_matrix_rank.cu.obj : error LNK2019: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,float,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@M_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00M@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z),函数 "public: static unsigned __int64 __cdecl mxnet::op::WSQ<struct mshadow::gpu,float>::SVDWorkspaceSizeQuery(class mxnet::TBlob const &,class mxnet::TShape const &,class mxnet::TShape const &,class mxnet::TShape const &,struct mxnet::OpContext const &)" (?SVDWorkspaceSizeQuery@?$WSQ@Ugpu@mshadow@@M@op@mxnet@@SA_KAEBVTBlob@3@AEBVTShape@3@11AEBUOpContext@3@@Z) 中引用了该符号
2>np_pinv.cu.obj : error LNK2001: 无法解析的外部符号 "__int64 __cdecl mxnet::op::linalg_gesdd_workspace_query<struct mshadow::gpu,float,__int64>(__int64,__int64,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,float> const &,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_gesdd_workspace_query@Ugpu@mshadow@@M_J@op@mxnet@@YA_J_J0AEBU?$Tensor@Ugpu@mshadow@@$01M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00M@3@1PEAU?$Stream@Ugpu@mshadow@@@3@@Z)
2>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_det_backward_helper<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,double,struct mxnet::OpContext const &)" (??$linalg_batch_det_backward_helper@Ugpu@mshadow@@N_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@AEBU?$Tensor@Ugpu@mshadow@@$00N@1@0NAEBUOpContext@mxnet@@@Z),函数 "public: static void __cdecl mxnet::op::det_backward::op<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@N_J@det_backward@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$00N@mshadow@@0AEBU?$Tensor@Ugpu@mshadow@@$02N@4@AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@1AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
2>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_det_backward_helper<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,float,struct mxnet::OpContext const &)" (??$linalg_batch_det_backward_helper@Ugpu@mshadow@@M_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@AEBU?$Tensor@Ugpu@mshadow@@$00M@1@0MAEBUOpContext@mxnet@@@Z),函数 "public: static void __cdecl mxnet::op::det_backward::op<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@M_J@det_backward@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$00M@mshadow@@0AEBU?$Tensor@Ugpu@mshadow@@$02M@4@AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@1AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
2>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_getrf<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,bool,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_batch_getrf@Ugpu@mshadow@@N_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@_NPEAU?$Stream@Ugpu@mshadow@@@1@@Z),函数 "public: static void __cdecl mxnet::op::det::op<struct mshadow::gpu,double,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,1,double> const &,struct mshadow::Tensor<struct mshadow::gpu,3,double> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@N_J@det@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$02N@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00N@4@0AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
2>la_op.cu.obj : error LNK2019: 无法解析的外部符号 "void __cdecl linalg_batch_getrf<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,bool,struct mshadow::Stream<struct mshadow::gpu> *)" (??$linalg_batch_getrf@Ugpu@mshadow@@M_J@@YAXAEBU?$Tensor@Ugpu@mshadow@@$02M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$01_J@1@_NPEAU?$Stream@Ugpu@mshadow@@@1@@Z),函数 "public: static void __cdecl mxnet::op::det::op<struct mshadow::gpu,float,__int64>(struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,1,float> const &,struct mshadow::Tensor<struct mshadow::gpu,3,float> const &,struct mshadow::Tensor<struct mshadow::gpu,2,__int64> const &,struct mxnet::OpContext const &,struct nnvm::NodeAttrs const &)" (??$op@Ugpu@mshadow@@M_J@det@op@mxnet@@SAXAEBU?$Tensor@Ugpu@mshadow@@$02M@mshadow@@AEBU?$Tensor@Ugpu@mshadow@@$00M@4@0AEBU?$Tensor@Ugpu@mshadow@@$01_J@4@AEBUOpContext@2@AEBUNodeAttrs@nnvm@@@Z) 中引用了该符号
2>crop.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@4@1@Z),函数 "void __cdecl mxnet::op::image::ResizeImplWrapper<struct mshadow::cpu>(struct mxnet::op::image::ResizeParam const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ResizeImplWrapper@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUResizeParam@012@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@2@Z) 中引用了该符号
2>resize.cc.obj : error LNK2001: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@4@1@Z)
2>crop.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@4@1@Z),函数 "void __cdecl mxnet::op::image::ResizeImplWrapper<struct mshadow::cpu>(struct mxnet::op::image::ResizeParam const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ResizeImplWrapper@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUResizeParam@012@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@2@Z) 中引用了该符号
2>resize.cc.obj : error LNK2001: 无法解析的外部符号 "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@4@1@Z)
2>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ToTensorImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,float> >(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,3,float>,int,float)" (??$ToTensorImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@3@U?$Tensor@Ugpu@mshadow@@$02M@3@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf16_t@bfloat@2@@4@U?$Tensor@Ugpu@mshadow@@$02M@4@HM@Z),函数 "void __cdecl mxnet::op::image::ToTensorOpForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ToTensorOpForward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
2>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::ToTensorImplCUDA<class mshadow::bfloat::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,float> >(struct mshadow::Stream<struct mshadow::gpu> *,struct mshadow::Tensor<struct mshadow::gpu,4,class mshadow::bfloat::bf16_t>,struct mshadow::Tensor<struct mshadow::gpu,4,float>,int,float)" (??$ToTensorImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@3@U?$Tensor@Ugpu@mshadow@@$03M@3@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$03Vbf16_t@bfloat@2@@4@U?$Tensor@Ugpu@mshadow@@$03M@4@HM@Z),函数 "void __cdecl mxnet::op::image::ToTensorOpForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$ToTensorOpForward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
2>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::NormalizeImplCUDA<class mshadow::bfloat::bf16_t>(struct mshadow::Stream<struct mshadow::gpu> *,class mshadow::bfloat::bf16_t const *,class mshadow::bfloat::bf16_t *,int,int,int,int,int,float,float,float,float,float,float)" (??$NormalizeImplCUDA@Vbf16_t@bfloat@mshadow@@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@PEBVbf16_t@bfloat@4@PEAV564@HHHHHMMMMMM@Z),函数 "void __cdecl mxnet::op::image::NormalizeOpForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$NormalizeOpForward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
2>image_random.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::image::NormalizeBackwardImplCUDA<class mshadow::bfloat::bf16_t>(struct mshadow::Stream<struct mshadow::gpu> *,class mshadow::bfloat::bf16_t const *,class mshadow::bfloat::bf16_t *,int,int,int,int,int,float,float,float)" (??$NormalizeBackwardImplCUDA@Vbf16_t@bfloat@mshadow@@@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@PEBVbf16_t@bfloat@4@PEAV564@HHHHHMMM@Z),函数 "void __cdecl mxnet::op::image::NormalizeOpBackward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$NormalizeOpBackward@Ucpu@mshadow@@@image@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@2@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@7@2@Z) 中引用了该符号
2>np_multinomial_op.cc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl mxnet::op::CheckPvalGPU<class mshadow::bfloat::bf16_t>(struct mxnet::OpContext const &,class mshadow::bfloat::bf16_t *,int)" (??$CheckPvalGPU@Vbf16_t@bfloat@mshadow@@@op@mxnet@@YAXAEBUOpContext@1@PEAVbf16_t@bfloat@mshadow@@H@Z),函数 "void __cdecl mxnet::op::NumpyMultinomialForward<struct mshadow::cpu>(struct nnvm::NodeAttrs const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &,class std::vector<enum mxnet::OpReqType,class std::allocator<enum mxnet::OpReqType> > const &,class std::vector<class mxnet::TBlob,class std::allocator<class mxnet::TBlob> > const &)" (??$NumpyMultinomialForward@Ucpu@mshadow@@@op@mxnet@@YAXAEBUNodeAttrs@nnvm@@AEBUOpContext@1@AEBV?$vector@VTBlob@mxnet@@V?$allocator@VTBlob@mxnet@@@std@@@std@@AEBV?$vector@W4OpReqType@mxnet@@V?$allocator@W4OpReqType@mxnet@@@std@@@6@2@Z) 中引用了该符号
E:\vMxnet\mxnet200beta0rc1\dev\Debug\mxnet_86.dll : fatal error LNK1120: 13 个无法解析的外部命令

SpaceView avatar Jul 08 '22 07:07 SpaceView

Hi. Maybe u try using python ./ci/build_windows.py -f WIN_GPU to compile mxnet(v1.9.x) with VS2019.

JA1E0 avatar Sep 27 '22 13:09 JA1E0