[hip] Remove `hip_pinned_shadow`.
authorMichael Liao <michael.hliao@gmail.com>
Thu, 26 Mar 2020 15:21:45 +0000 (11:21 -0400)
committerMichael Liao <michael.hliao@gmail.com>
Tue, 7 Apr 2020 13:51:49 +0000 (09:51 -0400)
commitc97be2c377852fad7eb38409aae5692fa417e49b
tree2090f36eae230534061a1a5b3dcb6a43fdbfef31
parente3b60597769f79a8abc19fb8ef1f321d9adc1358
[hip] Remove `hip_pinned_shadow`.

Summary:
- Use `device_builtin_surface` and `device_builtin_texture` for
  surface/texture reference support. So far, both the host and device
  use the same reference type, which could be revised later when
  interface/implementation is stablized.

Reviewers: yaxunl

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77583
12 files changed:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Driver/ToolChains/HIP.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/AST/ast-dump-hip-pinned-shadow.cu [deleted file]
clang/test/Driver/hip-toolchain-no-rdc.hip
clang/test/Driver/hip-toolchain-rdc.hip
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/SemaCUDA/hip-pinned-shadow.cu [deleted file]