[all-commits] [llvm/llvm-project] 3608d7: [Driver][HIP] Do not pass -dependency-file flag fo...
Aniket Lal via All-commits
all-commits at lists.llvm.org
Fri Feb 7 00:28:47 PST 2025
Branch: refs/heads/users/lalaniket8/clang-hip-driver-dependency-file-flag
Home: https://github.com/llvm/llvm-project
Commit: 3608d77e3633d853682ffbae16c5b227259ed69c
https://github.com/llvm/llvm-project/commit/3608d77e3633d853682ffbae16c5b227259ed69c
Author: anikelal <anikelal at amd.com>
Date: 2025-02-07 (Fri, 07 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: a0098e9d915fca7ffe67f7f8ccdadad82b655a66
https://github.com/llvm/llvm-project/commit/a0098e9d915fca7ffe67f7f8ccdadad82b655a66
Author: anikelal <anikelal at amd.com>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
A clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
Log Message:
-----------
Adding littest
Commit: d0ce707ec014e8014123b74eb836725fe3581dda
https://github.com/llvm/llvm-project/commit/d0ce707ec014e8014123b74eb836725fe3581dda
Author: anikelal <anikelal at amd.com>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
Log Message:
-----------
Removed verbose flag
Compare: https://github.com/llvm/llvm-project/compare/62d313ab0719...d0ce707ec014
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