[PATCH] D156426: [HIP] link HIP runtime library without --hip-link
Siu Chi Chan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 27 08:27:14 PDT 2023
scchan added inline comments.
================
Comment at: clang/docs/HIPSupport.rst:71
+In the above command, the ``--hip-link`` flag instructs Clang to link the HIP runtime library. However,
+the use of this flag is unnecessary if a HIP input file is already present in your program.
+
----------------
clang++ -xhip --offload-arch=gfx906 sample.o -o sample
would also work?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156426/new/
https://reviews.llvm.org/D156426
More information about the cfe-commits
mailing list