[PATCH] D156426: [HIP] link HIP runtime library without --hip-link

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 06:18:57 PDT 2023


yaxunl added a comment.

In D156426#4538646 <https://reviews.llvm.org/D156426#4538646>, @jhuber6 wrote:

> So this is equivalent to `nvcc` implicitly calling `-lcudart`? I've had thoughts about the `clang-linker-wrapper` adding known runtime flags to the link job if it's not found. E.g. if we find a CUDA image we pass `-lcudart`.

yes


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

https://reviews.llvm.org/D156426



More information about the cfe-commits mailing list