[PATCH] D74571: [OpenMP][CUDA] Add CUDA 10.2 support

Kelvin Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 13:25:43 PST 2020


kkwli0 added a comment.

So an alternative is to:

- patch `openmp/runtime/cmake/LibompCheckLinkerFlag.cmake` to make the `libomp_check_linker_flag` function to ignore the "Unknown CUDA version" warning,  AND
- ask users to build with `-DCMAKE_CXX_FLAGS=-Wno-unknown-cuda-version -DCMAKE_C_FLAGS=-Wno-unknown-cuda-version` to get around the `C_SUPPORTS_FPIC` test in `cmake/modules/HandleLLVMOptions.cmake` if the system has CUDA10.2 installed.




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

https://reviews.llvm.org/D74571





More information about the cfe-commits mailing list