diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-11 19:14:34 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-11 19:14:34 +0000 |
commit | daf5c0ea220f8bfd7d57193682172d11803d0f0c (patch) | |
tree | 01b4411cfeccdf97a8774412170ce80c763f2be5 /include/clang/Basic/DiagnosticDriverKinds.td | |
parent | 49edfed6d975a27cbbcd515f458f22d978791d53 (diff) |
[HIP] Diagnose unsupported host triple
Differential Revision: https://reviews.llvm.org/D46487
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticDriverKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticDriverKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td index 7aed05af4d..1b94b2dc9c 100644 --- a/include/clang/Basic/DiagnosticDriverKinds.td +++ b/include/clang/Basic/DiagnosticDriverKinds.td @@ -40,7 +40,7 @@ def err_drv_cuda_version_unsupported : Error< "but installation at %3 is %4. Use --cuda-path to specify a different CUDA " "install, pass a different GPU arch with --cuda-gpu-arch, or pass " "--no-cuda-version-check.">; -def err_drv_cuda_nvptx_host : Error<"unsupported use of NVPTX for host compilation.">; +def err_drv_cuda_host_arch : Error<"unsupported architecture '%0' for host compilation.">; def err_drv_invalid_thread_model_for_target : Error< "invalid thread model '%0' in '%1' for this target">; def err_drv_invalid_linker_name : Error< |