Skip to content

denzp/rust-inline-cuda-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inline CUDA for your Rust project

A (almost) tutorial how to write CUDA kernels in Rust, right alongside with CPU code.

Purpose

Personally, I would be glad Rust to dominate the world to use Rust in different areas ;)

I was very excited to see Jorge Aparicio's PTX generation example (@japaric/nvptx) some time ago. Since that time I was thinking about how can we go further towards a more natural mix of CUDA and Rust code.

Roadmap

Disclaimer

Unfortunately, I don't know how far would we get. The goal is to create a convenient way to write CUDA / OpenCL kernels in Rust just as easy as the host code, but I'm not sure we achieve it easily (if it's possible at all). So, let's start our journey through the thorns to a better future with GPGPU in Rust!

About

Let's jump into CUDA development with Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages