[CUDA] Add amdgpu sub archs
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 4 Apr 2018 21:19:27 +0000 (21:19 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 4 Apr 2018 21:19:27 +0000 (21:19 +0000)
commit8a5fc15aa45a1d5f83fe81771349e729a1ee64b7
treee6d720c0f77fafb7d1602b86d4e8ac91e7d5a534
parentc9a918c560aa2f524815dfb4ec68c3b24f3b211a
[CUDA] Add amdgpu sub archs

Patch by Greg Rodgers.
Revised and lit tests added by Yaxun Liu.

Differential Revision: https://reviews.llvm.org/D45277

llvm-svn: 329232
clang/include/clang/Basic/Cuda.h
clang/lib/Basic/Cuda.cpp
clang/lib/Basic/Targets.cpp
clang/lib/Basic/Targets.h
clang/lib/Basic/Targets/AMDGPU.cpp
clang/lib/Basic/Targets/AMDGPU.h
clang/lib/Basic/Targets/NVPTX.cpp
clang/test/Driver/cuda-arch-translation.cu