Add (unused) HIP API to the Context object. (#14623)
authorEdward Yang <ezyang@fb.com>
Mon, 3 Dec 2018 18:52:07 +0000 (10:52 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 3 Dec 2018 18:54:57 +0000 (10:54 -0800)
commit18eaec71212b18903b972755d47a40b380f3e176
tree1af44d9f1b8d4ae51abd932c66cb8e34b34ae9d0
parentb1faab3d8f10dd4eb989f07f5595495cfe220619
Add (unused) HIP API to the Context object. (#14623)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14623

This is the last piece we need before we can start doing out-of-place
HIPify on ATen.  These APIs are not actually used at the moment;
as we still do in-place HIPify which uses CUDA.

Reviewed By: gchanan

Differential Revision: D13277246

fbshipit-source-id: 771efa81c2d2022e29350f25a5b4bb8f49ac6df0
aten/src/ATen/Context.cpp
aten/src/ATen/Context.h
aten/src/ATen/detail/HIPHooksInterface.cpp [new file with mode: 0644]
aten/src/ATen/detail/HIPHooksInterface.h [new file with mode: 0644]