[PATCH] D120298: [HIP] Support `-fgpu-default-stream`

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 19:17:14 PST 2022


yaxunl updated this revision to Diff 410691.
yaxunl marked an inline comment as done.
yaxunl retitled this revision from "[HIP] Support `--default-stream`" to "[HIP] Support `-fgpu-default-stream`".
yaxunl edited the summary of this revision.
yaxunl added a comment.

rename the option and use preprocessor to emit the macro definition


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

https://reviews.llvm.org/D120298

Files:
  clang/include/clang/Basic/LangOptions.h
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGCUDANV.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/test/CodeGenCUDA/Inputs/cuda.h
  clang/test/CodeGenCUDA/kernel-call.cu
  clang/test/Driver/hip-options.hip
  clang/test/Preprocessor/predefined-macros.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120298.410691.patch
Type: text/x-patch
Size: 9836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220223/8c290879/attachment.bin>


More information about the cfe-commits mailing list