However, in my actual environment, when I use Clang 18 to compile CUDA programs—whether compiling only the host side, or having Clang handle the compilation of both the host and device sides—the compilation fails.
But when I switch to Clang 15 and compile it together with NVCC, it works fine.
My device is Jetson AGX Orin, with JetPack 6.1 (CUDA 12.6 + cuDNN 9.3).
Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.
If this was an incorrect assessment, please send me a direct message.
Disclaimer: this moderation suggestion and message were generated with AI assistance.