[all-commits] [llvm/llvm-project] 7be637: [Driver][HIP] Do not pass -dependency-file flag fo...
Aniket Lal via All-commits
all-commits at lists.llvm.org
Mon Feb 10 01:10:09 PST 2025
Branch: refs/heads/users/lalaniket8/clang-hip-driver-dependency-file-flag
Home: https://github.com/llvm/llvm-project
Commit: 7be637fa9fcde8977f650e208c7ddc1495080941
https://github.com/llvm/llvm-project/commit/7be637fa9fcde8977f650e208c7ddc1495080941
Author: anikelal <anikelal at amd.com>
Date: 2025-02-08 (Sat, 08 Feb 2025)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading
When we launch hipcc with multiple offload architectures along with -MF dep_file flag, the clang compilation invocations for host and device offloads write to the same dep_file, and can lead to collision during file IO operations. This can typically happen during large workloads.
This commit provides a fix to generate dep_file only in host compilation.
Commit: 5c52e3a065d0c6e3bf59c450102ae95595ed5b10
https://github.com/llvm/llvm-project/commit/5c52e3a065d0c6e3bf59c450102ae95595ed5b10
Author: anikelal <anikelal at amd.com>
Date: 2025-02-08 (Sat, 08 Feb 2025)
Changed paths:
A clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
Log Message:
-----------
Adding littest
Commit: 03eec5d1d888923a34c6afb970f1f18ee23b9c64
https://github.com/llvm/llvm-project/commit/03eec5d1d888923a34c6afb970f1f18ee23b9c64
Author: anikelal <anikelal at amd.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
M clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
Log Message:
-----------
Added nogpuinc nogpulib flags
Commit: 8941af50f4bc714aefa497a2df19f147391867ab
https://github.com/llvm/llvm-project/commit/8941af50f4bc714aefa497a2df19f147391867ab
Author: anikelal <anikelal at amd.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
M clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
Log Message:
-----------
Do not specify -target-cpu in host compilation
Compare: https://github.com/llvm/llvm-project/compare/7be637fa9fcd%5E...8941af50f4bc
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