I think lyla was aiming at that. I don't know how usable it is though since it isn't maintained anymore. I just remember he tried to make it kinda backend-independent so you can choose between BLAS and other implementations. http://www.dsource.org/projects/lyla