Hahnfeld added a comment.

FYI this commit breaks `clang/test/Index/index-file.cu` for me:

  warning: CUDA version 11.8 is only partially supported 
[-Wunknown-cuda-version]
  warning: CUDA version 11.8 is only partially supported 
[-Wunknown-cuda-version]
  /home/jhahnfel/LLVM/src/clang/test/Index/index-file.cu:8:20: error: 
CHECK-HOST-NOT: excluded string found in input
  // CHECK-HOST-NOT: macro definition=__CUDA_ARCH__
                     ^
  <stdin>:6218:48: note: found here
  // CHECK: __clang_cuda_runtime_wrapper.h:70:9: macro definition=__CUDA_ARCH__ 
Extent=[70:9 - 70:27]
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It //could// be related to the warning about my locally installed CUDA version, 
but `__CUDA_ARCH__` should really not be defined when compiling for the host. 
If you have any idea what's going on here, please let me know - I'm a bit 
puzzled right now...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146497/new/

https://reviews.llvm.org/D146497

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to