hip-clang enablement (#16085)
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Tue, 22 Jan 2019 17:07:18 +0000 (09:07 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 22 Jan 2019 17:09:48 +0000 (09:09 -0800)
commit9521a15c889579d4a1ef88af47aece93d0108157
tree3c1cd953e5feff554c08ce79b3281dc6e0e18549
parent4cf76574b958b41ae1df7fba6e87af101414549e
hip-clang enablement (#16085)

Summary:
Initial enabling of the upcoming hip-clang compiler for the PyTorch source base.

Changes:
* update the Eigen submodule to a version including our upstreamed hip-clang enabling there
* modify a few ifdef guards with the `__HIP__` macro used by hip-clang
* use `__lane_id` instead of `hc::__lane_id`
* add Debug flags for ROCm to the cmake infrastructure
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16085

Differential Revision: D13709459

Pulled By: ezyang

fbshipit-source-id: 1b7b33fe810a0434766180580d4443ea177eb7c7
aten/src/THC/THCAsmUtils.cuh
aten/src/THC/THCAtomics.cuh
caffe2/utils/conversions.h
caffe2/utils/fixed_divisor.h
caffe2/utils/math_utils.h
cmake/Dependencies.cmake
third_party/eigen