Hi,
I am trying to compile a CUDA program with clang-15 and am getting the following error saying the “texture template is missing”. Similar error with clang-14. Compiles fine with clang-12. Am I missing anything?
$ ~/Documents/Tools/llvm-project/build/bin/clang temp1.cu --verbose -L/usr/local/cuda-12.1/lib -lcudart_static -ldl -lrt -pthread
~/Documents/Tools/llvm-project/build/lib/clang/15.0.0/include/__clang_cuda_texture_intrinsics.h:696:13: error: no template named 'texture'
texture<__DataT, __TexT, cudaReadModeNormalizedFloat> __handle,
^
~/Documents/Tools/llvm-project/build/lib/clang/15.0.0/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.