jhuber6 added a comment.

In D88929#2315451 <https://reviews.llvm.org/D88929#2315451>, @ye-luo wrote:

> I just realized that this patch affects clang and libomptarget.
> I cannot comment on clang. Regarding libomptarget, Could you explain why the 
> detection is not put together with other cuda stuff in 
> `openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake`

If we're sticking with using FindCUDA it's definitely redundant here since it 
was already called by the time we get here. The support for CUDA language would 
use the same method but have `enable_language(CUDA)` somewhere instead of 
`find_package(CUDA)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88929

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

Reply via email to