]> granicus.if.org Git - clang/commit
[HIP] Use option -nogpulib to disable linking device lib
authorYaxun Liu <Yaxun.Liu@amd.com>
Thu, 3 Oct 2019 18:59:56 +0000 (18:59 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Thu, 3 Oct 2019 18:59:56 +0000 (18:59 +0000)
commit484a78835af8b523c31a4bbbe134182ba5f2807b
treecfd8556ac9eb5b4d4cb4e65180e71b91b8269326
parentc8297e1181cd7ac9a80a35f191ac1f6cc086d4ee
[HIP] Use option -nogpulib to disable linking device lib

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373649 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/ToolChains/Cuda.cpp
lib/Driver/ToolChains/HIP.cpp
test/Driver/hip-no-device-libs.hip [new file with mode: 0644]