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

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 06:17:51 PDT 2023


jhuber6 added a comment.

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`.


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

https://reviews.llvm.org/D156426



More information about the cfe-commits mailing list