Skip to content
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

Merged
merged 4 commits into from
Jan 29, 2025

Conversation

darren-amd
Copy link
Contributor

Change clang-offload-bundler to 4-tuple in the documentation. This PR aims to address: #186.

@darren-amd darren-amd requested a review from a team as a code owner January 17, 2025 14:43
@darren-amd darren-amd added the documentation Improvements or additions to documentation label Jan 17, 2025
@dgaliffiAMD dgaliffiAMD requested a review from MKKnorr January 17, 2025 16:15
Copy link
Contributor

@MKKnorr MKKnorr left a 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

@darren-amd
Copy link
Contributor Author

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.

@darren-amd darren-amd requested a review from MKKnorr January 27, 2025 16:28
@darren-amd darren-amd merged commit 7375b61 into develop Jan 29, 2025
5 of 8 checks passed
@darren-amd darren-amd deleted the darren-amd/fix-clang-offload-bundler branch January 29, 2025 14:26
@@ -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) \

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @shiltian,

There is already a double dash -- for GPU_ARCH_TRIPLES here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants