]> granicus.if.org Git - clang/commit
[HIP] Set proper triple and offload kind for the toolchain
authorYaxun Liu <Yaxun.Liu@amd.com>
Fri, 11 May 2018 19:21:39 +0000 (19:21 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Fri, 11 May 2018 19:21:39 +0000 (19:21 +0000)
commit6e79e3ea0e0d46dce51b57af77514060bb77c499
treead0434b448a0817e9d5ae8c1369ea11620f13015
parentdaf5c0ea220f8bfd7d57193682172d11803d0f0c
[HIP] Set proper triple and offload kind for the toolchain

Also introduce --hip-link option to indicate HIP for linking.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332123 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/Options.td
include/clang/Driver/Types.h
lib/Driver/Driver.cpp
lib/Driver/Types.cpp
test/Driver/Inputs/hip_multiple_inputs/a.cu [new file with mode: 0644]
test/Driver/Inputs/hip_multiple_inputs/b.hip [new file with mode: 0644]
test/Driver/hip-inputs.hip [new file with mode: 0644]