Skip to content

Conversation

@nnethercote
Copy link
Collaborator

The Rust CUDA Guide is in bad shape. There are a lot of potential improvements. This PR is just a start to fix some of the more obviously wrong/suboptimal things I encountered while reading it.

Copy link
Contributor

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

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

Jut some minor nits, thank you!

- Fix various typos, badly expressed sentences, etc.
- Streamline the "The CUDA Pipeline" section, which is repetitive and
  contains a broken link to a non-existent image.
- Remove reference to LLVM 12/13, which are now very old.
- Tweak text about supporting CUDA versions; 12.x support is no longer
  experimental.
- It's now `rust-toolchain.toml`, not `rust-toolchain`. And no need to
  include an out-of-date copy of it in the docs.
- Remove a reference to `spirv_builder` which isn't that helpful.
- Fix broken `Dockerfile` link.
Currently section 6 is empty and only has one subsection. So this commit
moves the text in 6.1 into 6 and all of 6.1.n into 6.n.

Also, there are two sections (`ptxgen.md` and `deuugging.md`) that are
present but not shown because they aren't mentioned in `SUMMARY.md`.
Include them.
- Use full names for `rustc_codegen_*` crates rather than shortened
  `cg_*` forms.
- Streamline `rustc_codegen_ssa` description.
- Minor grammer, punctuation, capitalization fixes.
- Fix formatting of some lists.
@nnethercote
Copy link
Collaborator Author

I fixed both nits, thanks.

@nnethercote nnethercote requested a review from LegNeato November 17, 2025 20:58
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.

2 participants