
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.This crate is a Rust port of Google's high-performance SwissTable hash Apache License, Version 2.0, ( LICENSE-APACHE or ).2020: rust-gpu Rustc codegen backend to compile Rust to SPIR-V for use in shaders, similar mechanism as our project.2020: rlsl Experimental Rust -> SPIR-V compiler (predecessor to rust-gpu).2020: accel Higher level library that relied on the same mechanism that nvptx does.2018: nvptx Rust to PTX compiler using the nvptx target for rustc (using the LLVM PTX backend).2017: inspirv-rust Experimental Rust MIR -> SPIR-V Compiler.2016: glassful Subset of Rust that compiles to GLSL.Other projects related to using Rust on the GPU: In addition to many "glue" crates for things such as high level wrappers for certain smaller CUDA libraries. optix for CPU-side hardware raytracing and denoising using the CUDA OptiX library.gpu_rand for GPU-friendly random number generation, currently only implements xoroshiro RNGs from rand_xoshiro.Provides much more fine grained control over things like kernel concurrency and module loading than the C++ Runtime API.
#RUST GITHUB DRIVER#
#RUST GITHUB CODE#

Our hope is that with this project we can push the Rust GPU computing industry forward and make Rust an excellent languageįor such tasks. Of projects such as rust-gpu (for Rust -> SPIR-V). In recent years it has been shown time and time again that a specialized solution is needed for Rust on the GPU with the advent The only viable option until now has been to use the LLVM PTXīackend, however, the LLVM PTX backend does not always work and would generate invalid PTX for many common Rust operations, and However, CUDA with Rust has been a historically very rocky road. Imperative to make Rust a viable option for use with the CUDA toolkit. However, CUDA remains the most used toolkit for such tasks by far. Many tools have been proposed for cross-platform GPU computing such as

Many libraries, tools, forums, and documentation to supplement the single-source CPU/GPU code.ĬUDA is exclusively an NVIDIA-only toolkit. Provides a way to use Fortran/C/C++ code for GPU computing in tandem with CPU code with a single source. Historically, general purpose high performance GPU computing has been done using the CUDA toolkit. It provides tools for compiling Rust to extremely fast PTX code as well as librariesįor using existing CUDA libraries with it. The Rust CUDA Project is a project aimed at making Rust a tier-1 language for extremely fast GPU computing Rust Guide | Getting Started | Features ⚠️ The project is still in early development, expect bugs, safety issues, and things that don't work ⚠️ Goal An ecosystem of libraries and tools for writing and executing extremely fast GPU code fully in
