Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust_ml_experiments

Practical Rust & CUDA ML experiments

Projects: 🗒️

Key Optimisations 📈

  • Matrix Multiply (GEMM) : Shared Memory & tiling. 50 -100x expected speedup (vs CPU).
  • Image Blur : Shared memory for 3x3 neighborhood. 20-50x expected speedup (vs CPU).
  • Mandelbrot : Coalesced memory access. 10-30x expected speedup (vs CPU).
  • N-Body : Shared memory & tree methods. 30-80x expected speedup (vs CPU).
  • Parallel Reduction : Bank conflict avoidence. 50-150x expected speedup (vs CPU).
  • Monte Carlo Pi : Minimize atomic ops. 40-100x expected speedup (vs CPU).

Build and Run it (Generic) 🛠️

  • Run it Locally:
```bash
      cargo run --release
 ```  
  • Build and Run it Docker:
```bash
      docker build -t ${PROJECT_TITLE} .
      docker run -it ${PROJECT_TITLE}
 ```  

About

Practical Rust Cuda Experiments Using RustaCuda and Burn lib

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages