Simplify function dispatch for linear attention (#47450)
* kernel native
* fix warning
* have to fix other modular to be coherent
* remove useless
* use native lib as well
* modular
* combine them
* doc
* no kernels only external lib
* keep
* fix warning trigger