5 ms·
Well it sucks for now, but Gorgonia and Gonum has a bunch of vectorized libraries for deep learning related use cases - they are "hand written" kernels (in actu
by chewxy 6y ago
Well it sucks for now, but Gorgonia and Gonum has a bunch of vectorized libraries for deep learning related use cases - they are "hand written" kernels (in actual fact generated by gcc -O3)
This kernels method of doing things makes it easy to upgrade code. Check it out: https://github.com/gorgonia/vecf64 https://github.com/gorgonia/vecf64
- rdc12 6y agoGiven how brittle autovectorizers can be (small changes to the code preventing the heuristic from firing), that is pretty much the only reliably fast way to write such a library currently, and perhaps indefinitely.