For a trivial foo.cu
:
Running clang++ foo.cu
results in:
clang-15: warning: CUDA version is newer than the latest supported version 11.5 [-Wunknown-cuda-version] In file included from <built-in>:1: In file included from /usr/lib/clang/15.0.7/include/__clang_cuda_runtime_wrapper.h:365: /usr/lib/clang/15.0.7/include/__clang_cuda_texture_intrinsics.h:696:13: error: no template named 'texture' texture<__DataT, __TexT, cudaReadModeNormalizedFloat> __handle, ^ /usr/lib/clang/15.0.7/include/__clang_cuda_texture_intrinsics.h:709:13: error: no template named 'texture' texture<__DataT, __TexT, cudaReadModeElementType> __handle, ^ 2 errors generated when compiling for sm_35.
The platform is Arch Linux:
$ clang++ --version clang version 15.0.7 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin
$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Tue_Feb__7_19:32:13_PST_2023 Cuda compilation tools, release 12.1, V12.1.66 Build cuda_12.1.r12.1/compiler.32415258_0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4