|
|
|
|
|
by treffer
806 days ago
|
|
A nice example of this is fftw which has hundreds (if not thousands) of generated methods to do the fft math. The whole project is a code generator. It can then after compilation benchmark these, generate a wisdom file for the hardware and pick the right implementation. Compared with that "a few" implementations of the core math kernel seem like an easy thing to do. |
|
[1] https://github.com/metalibm/metalibm
[2] https://indico.cern.ch/event/166141/sessions/125685/attachme...