Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 45%] Building CUDA object CMakeFiles/onnxruntime_providers_cuda_obj.dir....../onnxruntime/core/providers/cuda/activation/activations_impl.cu.o
- /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DCPUINFO_SUPPORTED_PLATFORM=1 -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DONNX_USE_LITE_PROTO=1 -DORT_ENABLE_STREAM -DPLATFORM_POSIX -DUSE_CUDA=1 -DUSE_FLASH_ATTENTION=1 -D_GNU_SOURCE -D__ONNX_NO_DOC_STRINGS --options-file CMakeFiles/onnxruntime_providers_cuda_obj.dir/includes_CUDA.rsp -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_90,code=sm_90 --expt-relaxed-constexpr --Werror default-stream-launch -Xcudafe "--diag_suppress=bad_friend_decl" -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -Xcudafe "--diag_suppress=expr_has_no_effect" -O2 -g -DNDEBUG -Xcompiler=-fPIC -Xcudafe --diag_suppress=conversion_function_not_usable --compiler-options -Wall --compiler-options -Wno-deprecated-copy --compiler-options -Wno-nonnull-compare -Xcompiler -Wno-nonnull-compare --threads "" -Xcompiler -Wno-reorder -Xcompiler -Wno-error=sign-compare -Werror all-warnings -MD -MT CMakeFiles/onnxruntime_providers_cuda_obj.dir....../onnxruntime/core/providers/cuda/activation/activations_impl.cu.o -MF CMakeFiles/onnxruntime_providers_cuda_obj.dir....../onnxruntime/core/providers/cuda/activation/activations_impl.cu.o.d -x cu -c ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu -o CMakeFiles/onnxruntime_providers_cuda_obj.dir....../onnxruntime/core/providers/cuda/activation/activations_impl.cu.o
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(80): error: more than one operator "+" matches these operands:
- function "operator+(const __half &, const __half &)" (declared at line 606 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator+(const half &, const half &)" (declared at line 23)
- operand types are: const __half + const __half
- r.x = lh.x + rh.x;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(81): error: more than one operator "+" matches these operands:
- function "operator+(const __half &, const __half &)" (declared at line 606 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator+(const half &, const half &)" (declared at line 23)
- operand types are: const __half + const __half
- r.y = lh.y + rh.y;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(87): error: more than one operator "-" matches these operands:
- function "operator-(const __half &, const __half &)" (declared at line 612 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator-(const half &, const half &)" (declared at line 24)
- operand types are: const __half - const __half
- r.x = lh.x - rh.x;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(88): error: more than one operator "-" matches these operands:
- function "operator-(const __half &, const __half &)" (declared at line 612 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator-(const half &, const half &)" (declared at line 24)
- operand types are: const __half - const __half
- r.y = lh.y - rh.y;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(94): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25)
- operand types are: const __half * const __half
- r.x = lh.x * rh.x;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(95): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25)
- operand types are: const __half * const __half
- r.y = lh.y * rh.y;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(101): error: more than one operator "/" matches these operands:
- function "operator/(const __half &, const __half &)" (declared at line 624 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator/(const half &, const half &)" (declared at line 26)
- operand types are: const __half / const __half
- r.x = lh.x / rh.x;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(102): error: more than one operator "/" matches these operands:
- function "operator/(const __half &, const __half &)" (declared at line 624 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator/(const half &, const half &)" (declared at line 26)
- operand types are: const __half / const __half
- r.y = lh.y / rh.y;
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(390): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25)
- operand types are: half * const half
- return a * kHalf * (kOne + _Erf(kAlpha * a));
- ^
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(390): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25)
- operand types are: const half * half
- return a * kHalf * (kOne + _Erf(kAlpha * a));
- ^
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(15): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: const half > half
- return a > (T)0 ? a : (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Elu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Elu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Elu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Elu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxElu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(15): error: more than one operator "-" matches these operands:
- function "operator-(const __half &, const __half &)" (declared at line 612 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator-(const half &, const half &)" (declared at line 24 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half - half
- return a > (T)0 ? a : (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Elu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Elu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Elu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Elu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxElu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(15): error: ambiguous "?" operation: second operand of type "const half" can be converted to third operand type "<error-type>", and vice versa
- return a > (T)0 ? a : (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Elu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Elu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Elu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Elu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxElu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(22): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half * const half
- return _Max(_Min((T)alpha * a + (T)beta, (T)1), (T)0);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_HardSigmoid<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_HardSigmoid<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_HardSigmoid<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_HardSigmoid(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxHardSigmoid *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(22): error: no instance of function template "onnxruntime::cuda::_Min" matches the argument list
- argument types are: (<error-type>, half)
- return _Max(_Min((T)alpha * a + (T)beta, (T)1), (T)0);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_HardSigmoid<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_HardSigmoid<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_HardSigmoid<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_HardSigmoid(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxHardSigmoid *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(22): error: no instance of function template "onnxruntime::cuda::_Max" matches the argument list
- argument types are: (<error-type>, half)
- return _Max(_Min((T)alpha * a + (T)beta, (T)1), (T)0);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_HardSigmoid<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_HardSigmoid<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_HardSigmoid<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_HardSigmoid(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxHardSigmoid *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(29): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: const half > half
- return a > (T)0 ? a : (T)alpha * a;
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_LeakyRelu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_LeakyRelu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_LeakyRelu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_LeakyRelu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxLeakyRelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(29): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half * const half
- return a > (T)0 ? a : (T)alpha * a;
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_LeakyRelu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_LeakyRelu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_LeakyRelu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_LeakyRelu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxLeakyRelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(29): error: ambiguous "?" operation: second operand of type "const half" can be converted to third operand type "<error-type>", and vice versa
- return a > (T)0 ? a : (T)alpha * a;
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_LeakyRelu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_LeakyRelu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_LeakyRelu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_LeakyRelu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxLeakyRelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(348): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72)
- operand types are: half > half
- __attribute__((device)) __inline__ T _Max(T a, T b) { return a > b ? a : b; }
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::_Max(T, T) [with T=half]" at line 36 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "T onnxruntime::cuda::OP_Relu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Relu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Relu<half>]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "void onnxruntime::cuda::Impl_Relu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxRelu *, size_t) [with T=half]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(43): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: const half > half
- return a > (T)0 ? (T)gamma * a : (T)gamma * (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Selu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Selu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(43): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half * const half
- return a > (T)0 ? (T)gamma * a : (T)gamma * (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Selu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Selu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(43): error: more than one operator "*" matches these operands:
- function "operator*(const __half &, const __half &)" (declared at line 618 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator*(const half &, const half &)" (declared at line 25 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half * half
- return a > (T)0 ? (T)gamma * a : (T)gamma * (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Selu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Selu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(43): error: more than one operator "-" matches these operands:
- function "operator-(const __half &, const __half &)" (declared at line 612 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator-(const half &, const half &)" (declared at line 24 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half - half
- return a > (T)0 ? (T)gamma * a : (T)gamma * (T)alpha * (_Exp(a) - (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Selu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Selu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Selu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSelu *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(68): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: const half > half
- if (a > (T)0)
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Softplus<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softplus<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softplus<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Softplus(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftplus *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(69): error: more than one operator "-" matches these operands:
- function "operator-(const __half &)" (declared at line 700 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator-(const half &)" (declared at line 67 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: - const half
- return a + _Log(_Exp(-a) + (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Softplus<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softplus<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softplus<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Softplus(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftplus *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(71): error: more than one operator "+" matches these operands:
- function "operator+(const __half &, const __half &)" (declared at line 606 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator+(const half &, const half &)" (declared at line 23 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half + half
- return _Log(_Exp(a) + (T)1);
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Softplus<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softplus<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softplus<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Softplus(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftplus *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(351): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72)
- operand types are: half > half
- __attribute__((device)) __inline__ T _Abs(T a) { return a > (T)0 ? a : -a; }
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::_Abs(T) [with T=half]" at line 78 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "T onnxruntime::cuda::OP_Softsign<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "void onnxruntime::cuda::Impl_Softsign(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftsign *, size_t) [with T=half]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(351): error: more than one operator "-" matches these operands:
- function "operator-(const __half &)" (declared at line 700 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator-(const half &)" (declared at line 67)
- operand types are: - half
- __attribute__((device)) __inline__ T _Abs(T a) { return a > (T)0 ? a : -a; }
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::_Abs(T) [with T=half]" at line 78 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "T onnxruntime::cuda::OP_Softsign<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "void onnxruntime::cuda::Impl_Softsign(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftsign *, size_t) [with T=half]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh(351): error: ambiguous "?" operation: second operand of type "half" can be converted to third operand type "<error-type>", and vice versa
- __attribute__((device)) __inline__ T _Abs(T a) { return a > (T)0 ? a : -a; }
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::_Abs(T) [with T=half]" at line 78 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "T onnxruntime::cuda::OP_Softsign<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- instantiation of "void onnxruntime::cuda::Impl_Softsign(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftsign *, size_t) [with T=half]" at line 119 of ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(78): error: more than one operator "+" matches these operands:
- function "operator+(const __half &, const __half &)" (declared at line 606 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator+(const half &, const half &)" (declared at line 23 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: half + half
- return a / ((T)1. + _Abs(a));
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_Softsign<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_Softsign<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_Softsign(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxSoftsign *, size_t) [with T=half]" at line 119
- ....../onnxruntime/core/providers/cuda/activation/activations_impl.cu(92): error: more than one operator ">" matches these operands:
- function "operator>(const __half &, const __half &)" (declared at line 720 of /usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp)
- function "onnxruntime::cuda::operator>(const half &, const half &)" (declared at line 72 of ....../onnxruntime/core/providers/cuda/cu_inc/common.cuh)
- operand types are: const half > half
- return a > (T)alpha ? a : (T)0;
- ^
- detected during:
- instantiation of "T onnxruntime::cuda::OP_ThresholdedRelu<T>::operator()(const T &) const [with T=half]" at line 34 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::_UnaryElementWise<InT,OutT,FuncT,NumThreadsPerBlock,NumElementsPerThread>(const InT *, OutT *, FuncT, int32_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_ThresholdedRelu<half>, NumThreadsPerBlock=256, NumElementsPerThread=4]" at line 57 of ....../onnxruntime/core/providers/cuda/cu_inc/unary_elementwise_impl.cuh
- instantiation of "void onnxruntime::cuda::UnaryElementWiseImpl(cudaStream_t, const InT *, OutT *, const FuncT &, size_t) [with InT=half, OutT=half, FuncT=onnxruntime::cuda::OP_ThresholdedRelu<half>]" at line 119
- instantiation of "void onnxruntime::cuda::Impl_ThresholdedRelu(cudaStream_t, const T *, T *, const onnxruntime::cuda::CtxThresholdedRelu *, size_t) [with T=half]" at line 119
- 32 errors detected in the compilation of "....../onnxruntime/core/providers/cuda/activation/activations_impl.cu".
- make[2]: *** [CMakeFiles/onnxruntime_providers_cuda_obj.dir/build.make:1340: CMakeFiles/onnxruntime_providers_cuda_obj.dir....../onnxruntime/core/providers/cuda/activation/activations_impl.cu.o] Error 255
- make[2]: Leaving directory '....../cmake/build'
- make[1]: *** [CMakeFiles/Makefile2:1879: CMakeFiles/onnxruntime_providers_cuda_obj.dir/all] Error 2
- make[1]: Leaving directory '....../cmake/build'
- make: *** [Makefile:149: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement