[PATCH] D138702: support for HIP non hostcall printf

Vikram Hegde via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 1 20:35:36 PST 2022


vikramRH added a comment.

There were some issues reported where it was found that pcie atomics are not available in some environments, as a result hostcall and HIP-Printf were also not available. This Patch is intended to provide an alternative in such scenarios while hostcall based implementation remains the primary option.

After discussions with Sameer, I am convinced that it is better to do this transformation at clang CodeGen phase rather than a opt pass (similar to current hostcall based implementation),
Hence this patch needs rework and I shall include the review comments in the updated patch. (I agree on the option too, I shall think of a option name with a named argument)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138702



More information about the cfe-commits mailing list