[all-commits] [llvm/llvm-project] 2ae256: [CUDA][HIP] Add -Xarch_device and -Xarch_host options
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Tue Mar 24 07:13:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2ae25647d1a363515ecbd193dc66d8ada80dd054
https://github.com/llvm/llvm-project/commit/2ae25647d1a363515ecbd193dc66d8ada80dd054
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/ToolChain.h
M clang/lib/Driver/Compilation.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/HIP.cpp
M clang/test/Driver/hip-options.hip
Log Message:
-----------
[CUDA][HIP] Add -Xarch_device and -Xarch_host options
The argument after -Xarch_device will be added to the arguments for CUDA/HIP
device compilation and will be removed for host compilation.
The argument after -Xarch_host will be added to the arguments for CUDA/HIP
host compilation and will be removed for device compilation.
Differential Revision: https://reviews.llvm.org/D76520
More information about the All-commits
mailing list