mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -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
950 B
950 B