yaxunl marked 2 inline comments as done. yaxunl added inline comments.
================ Comment at: clang/docs/HIPSupport.rst:65 + + clang++ --offload-arch=gfx906 -xhip sample.cpp -o sample + ---------------- arsenm wrote: > scchan wrote: > > missing --hip-link > What does hip-link do? Why is it needed? I never use it and it works It indicates HIP offloading at the linking stage and creates the HIP toolchain. For -fno-gpu-rdc mode, it locates the HIP runtime library and links it. For -fgpu-rdc mode, it unbundles object files and does device linking and embedding. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154123/new/ https://reviews.llvm.org/D154123 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits