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

N28: Rust CUDA #881

Merged
merged 3 commits into from
Dec 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions content/news/028/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,26 @@ This month changes by [@PsichiX]:

[NavMesh]: https://github.com/PsichiX/navmesh

### [Rust CUDA]

[Rust CUDA] by [Riccardo D'Ambrosio] is a newly-released project with the goal
of making Rust a Tier-1 language for fast GPU computing. There are still many
bugs, and it's in an early stage.

With this release comes a few crates. `rustc_codegen_nvvm` for compiling Rust to
Copy link
Member

Choose a reason for hiding this comment

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

No bold/italic/etc formatting <...>

Maybe it's better to convert these to links?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, that does make sense. This is just a habit I have from the Veloren blogs :P will fix this!

CUDA PTX code using rustc's custom codegen mechanisms and the `libnvvm` CUDA
library. `cust` for actually executing the PTX is a high-level wrapper for the
CUDA Driver API. `cuda_builder` for easily building GPU crates. `cuda_std` is
the GPU-side standard library which complements rustc_codegen_nvvm. `gpu_rand`
is a GPU-friendly random number generation. `nvvm` is high-level bindings to
libnvvm, and `ptx_compiler` is high-level bindings to the PTX compiler APIs,
which are currently incomplete. `find_cuda_helper` is for finding CUDA on the
system. There are many other works in progress.

[Riccardo D'Ambrosio]: https://github.com/RDambrosio016
[rust-cuda-github]: https://github.com/Rust-GPU/Rust-CUDA
[rust-cuda-announcement]: https://www.reddit.com/r/rust/comments/qzv428/announcing_the_rust_cuda_project_an_ecosystem_of/

## Popular Workgroup Issues in Github

<!-- Up to 10 links to interesting issues -->
Expand Down