[all-commits] [llvm/llvm-project] eec516: [OpenMP] Make `-Xarch_host` and `-Xarch_device` wo...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jan 17 10:39:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eec516a0954a5a91490ac4b6e86196e9813d9185
https://github.com/llvm/llvm-project/commit/eec516a0954a5a91490ac4b6e86196e9813d9185
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-01-17 (Tue, 17 Jan 2023)
Changed paths:
M clang/lib/Driver/ToolChain.cpp
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
[OpenMP] Make `-Xarch_host` and `-Xarch_device` work for OpenMP offloading
Clang currently supports the `-Xarch_host` and `-Xarch_device` variants
to handle passing arguments to only one part of the offloading
toolchain. This was previously only supported fully for HIP / CUDA This
patch simple updates the logic to make it work for any offloading kind.
Fixes #59799
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D141935
More information about the All-commits
mailing list