mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
For NVCC the compiler takes care of device linking when passed the "-dlink"
flag.
Clang doesn't support such magic and requires the buildsystem to do the work
that NVCC does behind the scenes.
The implementation is based on Bazel's device linking documentation:
7cabcdf073/third_party/nccl/build_defs.bzl.tpl (L259)
Closes: #20726
1.5 KiB
1.5 KiB