Skip to content

1οΈβƒ£πŸπŸŽοΈπŸͺ™πŸ¦€ - Aggregating 1B rows from a text file on a GPU for fun and profit

License

Notifications You must be signed in to change notification settings

tommyip/1brc.metal-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

The One Billion Row Challenge with Metal and Rust

1οΈβƒ£πŸπŸŽοΈπŸͺ™πŸ¦€

My attempt at completing the One Billion Row Challenge (1BRC) with Metal 1 and Rust. As of 4th May 2024, our GPU-only solution runs 11.2% faster (1.0225s) than the fastest official Java submission (1.1375s) on my M1 Max MacBook Pro.

Footnotes

  1. Apple's hardware-accelerated graphics and compute shader API ↩

About

1οΈβƒ£πŸπŸŽοΈπŸͺ™πŸ¦€ - Aggregating 1B rows from a text file on a GPU for fun and profit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published