[all-commits] [llvm/llvm-project] 44936c: [CUDA][HIP] add options `--[no-]offload-inc` (#140...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Mon Jun 23 08:02:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 44936c8d13f904a68647d83bdcdbbeefb4670d3e
https://github.com/llvm/llvm-project/commit/44936c8d13f904a68647d83bdcdbbeefb4670d3e
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/HIPSPV.cpp
M clang/test/Driver/hip-include-path.hip
Log Message:
-----------
[CUDA][HIP] add options `--[no-]offload-inc` (#140106)
Currently there is only option -nogpuinc for disabling
the default CUDA/HIP wrapper headers. However, there
are situations where -nogpuinc needs to be overriden
for enabling CUDA/HIP wrapper headers. This patch
adds --[no-]offload-inc for that purpose. When both
exist, the last wins. -nogpuinc and -nocudainc are
now alias to --no-offload-inc.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list