Skip to content

Clarify importance of target-cpu flag for offload#2876

Merged
jyn514 merged 2 commits into
rust-lang:mainfrom
xkevio:patch-2
May 19, 2026
Merged

Clarify importance of target-cpu flag for offload#2876
jyn514 merged 2 commits into
rust-lang:mainfrom
xkevio:patch-2

Conversation

@xkevio
Copy link
Copy Markdown
Contributor

@xkevio xkevio commented May 19, 2026

I assume, the default mdBook callout syntax also works here.

I talked with @ZuseZ4 about this and while it is clear that you need the appropriate target code for your GPU once you already know, it can be confusing and easy to gloss over. Plus, it can be rather annoying to find these target names if you don't know what to search for.

EDIT: CI tells me, the callout syntax does not work as expected, will fix. Fixed.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 19, 2026

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label May 19, 2026
@xkevio
Copy link
Copy Markdown
Contributor Author

xkevio commented May 19, 2026

r? rustc-dev-guide

Copy link
Copy Markdown
Member

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

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

@jyn514 jyn514 merged commit f147f77 into rust-lang:main May 19, 2026
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label May 19, 2026
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