https://github.com/chancehudson/webgpu-math
https://github.com/chancehudson/webgpu-math
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/chancehudson/webgpu-math
- Owner: chancehudson
- Created: 2023-11-06T06:59:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T14:53:24.000Z (over 2 years ago)
- Last Synced: 2024-07-21T00:41:23.620Z (about 2 years ago)
- Language: Rust
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webgpu-math
A GPU accelerated finite field math library.
## Current state
A naive modular multiplication implementation is as fast as the cpu implementation for a batch of 2048 (modular) multiplications.
```
total multiplications: 2048
gpu: 8.68ms
cpu: 9.28ms
```
It's twice as fast for 8192 multiplications:
```
total multiplications: 8192
gpu: 14.06ms
cpu: 27.93ms
```