algebra
algebra copied to clipboard
Hosting accel
Currently, CUDA support is provided by accel. However, current maintainer is not very responsive and repo is not condusive for dev. Thus, I self-host my own accel. However, this seems unsuitable. Hence I propose for accel to be hosted on arkworks. It is rust code (6k loc).
In the future, we would like to move to rust-gpu. This is because spir-v via WebGPU allows running on all platform GPUs, e.g. ARM Mali, Nvidia, Radeon, and Apple GPUs (with Metal API).
Hmm sure. How far off is a backed based on rust-gpu?
Also, given that you have your own fork of accel, how much work would it be to pare it down to just the parts that you use?
Re rust-gpu, my guess is about a year.
Re pairing down, this can definitely be done, my rabbit out of hat guess is 3k loc.
I think it would be a nice idea to reduce the amount of code in the accel fork; that would help with security audits and such, along with reducing the amount of unsafe code in dependencies.