You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,centos7+cuda10,make error,and I don't know how to solve it. Can you help me? Thanks!
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(96): error: invalid redeclaration of type name "__half"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(147): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(100): error: invalid redeclaration of type name "__half2"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(253): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(103): error: invalid redeclaration of type name "half"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(2034): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(104): error: invalid redeclaration of type name "half2"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(2035): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(128): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(138): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(148): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(158): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(219): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(229): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(239): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(249): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(303): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(313): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(323): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(333): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(385): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(395): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(405): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(415): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(470): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(481): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(491): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(501): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(556): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(567): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(577): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(587): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(641): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(651): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(661): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(671): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(771): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(785): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(799): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(968): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(978): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1955): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1961): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1967): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1973): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2004): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2010): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2016): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2022): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2053): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2059): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2065): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2071): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2102): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2108): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2114): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2120): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2151): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2157): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2163): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2169): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2200): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2206): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2212): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2218): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2305): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2311): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2317): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2323): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2335): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2343): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2352): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2354): error: no suitable user-defined conversion from "__half2" to "__half2" exists
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2461): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2467): error: cannot overload functions distinguished by return type alone
74 errors detected in the compilation of "/tmp/tmpxft_00000978_00000000-6_data_augmentation.cu.cpp1.ii".
The text was updated successfully, but these errors were encountered:
hello,centos7+cuda10,make error,and I don't know how to solve it. Can you help me? Thanks!
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(96): error: invalid redeclaration of type name "__half"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(147): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(100): error: invalid redeclaration of type name "__half2"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(253): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(103): error: invalid redeclaration of type name "half"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(2034): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(104): error: invalid redeclaration of type name "half2"
/usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(2035): here
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(128): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(138): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(148): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(158): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(219): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(229): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(239): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(249): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(303): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(313): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(323): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(333): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(385): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(395): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(405): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(415): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(470): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(481): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(491): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(501): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(556): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(567): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(577): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(587): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(641): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(651): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(661): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(671): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(771): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(785): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(799): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(968): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(978): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1955): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1961): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1967): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1973): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2004): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2010): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2016): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2022): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2053): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2059): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2065): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2071): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2102): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2108): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2114): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2120): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2151): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2157): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2163): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2169): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2200): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2206): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2212): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2218): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2305): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2311): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2317): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2323): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2335): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2343): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2352): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2354): error: no suitable user-defined conversion from "__half2" to "__half2" exists
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2461): error: cannot overload functions distinguished by return type alone
/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2467): error: cannot overload functions distinguished by return type alone
74 errors detected in the compilation of "/tmp/tmpxft_00000978_00000000-6_data_augmentation.cu.cpp1.ii".
The text was updated successfully, but these errors were encountered: