[PATCH] D154123: [HIP] Start document HIP support by clang

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 14 10:21:51 PDT 2023


arsenm added inline comments.


================
Comment at: clang/docs/HIPSupport.rst:33
+
+   clang -c --offload-arch=gfx906 -xhip test.cpp -o test.o
+
----------------
Aren't you supposed to use clang++? Also, could show that .hip is recognized?


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

https://reviews.llvm.org/D154123



More information about the cfe-commits mailing list