-
Notifications
You must be signed in to change notification settings - Fork 52
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
Change clang-offload-bundler to 4-tuple #188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
This does however also affect the assembly_to_executable
example, and also requires these changes to be added to the corresponding CMakeList.txt and Makefile. Otherwise the documentation says something different than the example does
Thanks for the review, I have made the requested changes. |
@@ -68,7 +68,7 @@ main_device.o: hip_obj_gen.mcin offload_bundle.hipfb | |||
|
|||
offload_bundle.hipfb: $(GPU_ARCHS:%=main_%.o) | |||
$(CLANG_OFFLOAD_BUNDLER) -type=o -bundle-align=4096 \ | |||
-targets=host-x86_64-unknown-linux,$(GPU_ARCH_TRIPLES) \ | |||
-targets=host-x86_64-unknown-linux-gnu,$(GPU_ARCH_TRIPLES) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another needs to be noted is the GPU_ARCH_TRIPLES
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change clang-offload-bundler to 4-tuple in the documentation. This PR aims to address: #186.