-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OpenMP] Fix using the target ID when using the new driver
AMDGPU sometimes uses a novel formatting for their offloading architecture called the target id. This merges the attributes and the architecture name into a single string. Previously, we were passing this as the canonical architecture name. This caused the linker wrapper to fail to find relevant libraries and then pass an incalid CPU name. This patch changes the handling in the offload packager to handle the canonical architecture and then extract the features. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D150998
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters