diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-09-24 19:16:40 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-09-24 19:16:40 +0000 |
commit | 7fd15a3b66eaa8c90756983ddd960624f543949f (patch) | |
tree | 995ee23f86a635b6dd608886d49848ae1b3d78af /lib/Frontend/CompilerInvocation.cpp | |
parent | e8c2d2746b1e718b607b78a830534fd3a981d250 (diff) | |
download | clang-7fd15a3b66eaa8c90756983ddd960624f543949f.tar.gz |
[HIP] Support new kernel launching API
Differential Revision: https://reviews.llvm.org/D67947
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index d3b2c37553..61a2c07890 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -2517,6 +2517,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.CUDADeviceApproxTranscendentals = 1; Opts.GPURelocatableDeviceCode = Args.hasArg(OPT_fgpu_rdc); + Opts.HIPUseNewLaunchAPI = Args.hasArg(OPT_fhip_new_launch_api); if (Opts.ObjC) { if (Arg *arg = Args.getLastArg(OPT_fobjc_runtime_EQ)) { |