[PATCH] D59863: [HIP] Support gpu arch gfx906+sram-ecc

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 19:51:21 PDT 2019


yaxunl created this revision.
yaxunl added reviewers: tra, ashi1.
Herald added a subscriber: jholewinski.

Add a new gpu arch gfx906+sram-ecc for HIP.

It is similar to gfx906 but implies target feature sram-ecc enabled,
whereas gfx906 implies target sram-ecc disabled. Corresponding
option -mattr=[+|-]sram-ecc will be passed to llc based on the
gpu arch.


https://reviews.llvm.org/D59863

Files:
  include/clang/Basic/Cuda.h
  lib/Basic/Cuda.cpp
  lib/Basic/Targets/NVPTX.cpp
  lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  lib/Driver/ToolChains/HIP.cpp
  test/Driver/hip-toolchain-sram-ecc.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59863.192403.patch
Type: text/x-patch
Size: 6404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190327/4974b0f8/attachment.bin>


More information about the cfe-commits mailing list