Skip to content

[Clang][Bundler] Do not require host triple for extracting device bundles #571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

sndmitriev
Copy link
Contributor

Bundler currently requires host triple to be provided no matter if you are performing bundling or unbundling, but for unbundling operation such requirement is too restrictive. You may for example want to examine device part of the object for a particular offload target, but you have to extract host part as well even though you do not need it. Host triple isn't really needed for unbundling, so this patch removes that requirement.

This is a cherry-pick of two llvm.org patches
https://reviews.llvm.org/D66598 (prerequisite for the second patch)
https://reviews.llvm.org/D66601

…dles

Bundler currently requires host triple to be provided no matter if you are performing bundling or unbundling, but for unbundling operation such requirement is too restrictive. You may for example want to examine device part of the object for a particular offload target, but you have to extract host part as well even though you do not need it. Host triple isn't really needed for unbundling, so this patch removes that requirement.

This is a cherry-pick of two llvm.org patches
  https://reviews.llvm.org/D66598 (prerequisite for the second patch)
  https://reviews.llvm.org/D66601

Signed-off-by: Sergey Dmitriev <[email protected]>
@bader bader merged commit c5708f9 into intel:sycl Sep 2, 2019
@sndmitriev sndmitriev deleted the public/sndmitriev/bundler-no-host-error branch December 22, 2020 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants