Created
July 5, 2024 23:00
-
-
Save russeree/b77db6865093ee452f01ff797098a9fe to your computer and use it in GitHub Desktop.
Clang++ Cuda Errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang++ -x cuda --cuda-gpu-arch=sm_61 -I/opt/cuda/lib64 axpy.cu -o axpy -L/opt/cuda/lib32 -lcudart_static -ldl -lrt -pthread | |
clang++: warning: CUDA version is newer than the latest supported version 12.3 [-Wunknown-cuda-version] | |
In file included from <built-in>:1: | |
In file included from /usr/local/lib/clang/18/include/__clang_cuda_runtime_wrapper.h:41: | |
In file included from /usr/local/lib/clang/18/include/cuda_wrappers/cmath:27: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/cmath:49: | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/std_abs.h:137:7: error: __float128 is not supported on this target | |
137 | abs(__float128 __x) | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/std_abs.h:136:3: error: __float128 is not supported on this target | |
136 | __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/std_abs.h:142:12: note: '__builtin_fabsf128' defined here | |
142 | return __builtin_fabsf128(__x); | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/std_abs.h:142:12: note: '__builtin_fabsf128' defined here | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/std_abs.h:137:18: note: '__x' defined here | |
137 | abs(__float128 __x) | |
| ^ | |
In file included from <built-in>:1: | |
In file included from /usr/local/lib/clang/18/include/__clang_cuda_runtime_wrapper.h:41: | |
In file included from /usr/local/lib/clang/18/include/cuda_wrappers/cmath:27: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/cmath:3898: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/specfun.h:43: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/stl_algobase.h:64: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/stl_pair.h:60: | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/type_traits:514:39: error: __float128 is not supported on this target | |
514 | struct __is_floating_point_helper<__float128> | |
| ^ | |
In file included from <built-in>:1: | |
In file included from /usr/local/lib/clang/18/include/__clang_cuda_runtime_wrapper.h:41: | |
In file included from /usr/local/lib/clang/18/include/cuda_wrappers/cmath:27: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/cmath:3898: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/specfun.h:43: | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/stl_algobase.h:1079:21: error: __float128 is not supported on this target | |
1079 | __size_to_integer(__float128 __n) { return (long long)__n; } | |
| ^ | |
In file included from <built-in>:1: | |
In file included from /usr/local/lib/clang/18/include/__clang_cuda_runtime_wrapper.h:41: | |
In file included from /usr/local/lib/clang/18/include/cuda_wrappers/cmath:27: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/cmath:3898: | |
In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/specfun.h:44: | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2089:27: error: __float128 is not supported on this target | |
2089 | struct numeric_limits<__float128> | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2093:33: error: __float128 is not supported on this target | |
2093 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2104:33: error: __float128 is not supported on this target | |
2104 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2118:33: error: __float128 is not supported on this target | |
2118 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2132:33: error: __float128 is not supported on this target | |
2132 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2136:33: error: __float128 is not supported on this target | |
2136 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2156:33: error: __float128 is not supported on this target | |
2156 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2160:33: error: __float128 is not supported on this target | |
2160 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2164:33: error: __float128 is not supported on this target | |
2164 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2176:33: error: __float128 is not supported on this target | |
2176 | static _GLIBCXX_CONSTEXPR __float128 | |
| ^ | |
/usr/lib64/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/limits:2170:28: error: __float128 is not supported on this target | |
2170 | return __builtin_bit_cast(__float128, __builtin_nansf128("")); | |
| ^ | |
15 errors generated when compiling for sm_61. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment