dlunion / tensorRTIntegrate

TensorRT ONNX Plugin、Inference、Compile
464 stars 114 forks source link

src/caffeplugin/plugins/ChannelMultiplicationLayer.cu(14): error: more than one conversion function from "const TRTInfer::halfloat" to a built-in type applies: #46

Open wolfworld6 opened 3 years ago

wolfworld6 commented 3 years ago

hello,the first,i have make successfully,howeve,the second i got this error,as follows:

src/caffeplugin/plugins/ChannelMultiplicationLayer.cu(14): error: more than one conversion function from "const TRTInfer::halfloat" to a built-in type applies: function "half::operator float() const" function "half::operator short() const" function "half::operator unsigned short() const" function "half::operator int() const" function "half::operator unsigned int() const" function "half::operator long long() const" function "half::operator unsigned long long() const" function "half::operator __nv_bool() const" detected during instantiation of "void channelMultiplicationKernel(const _T , const _T , _T *, int, int) [with _T=TRTInfer::halfloat]" (36): here how could i solve it?thx