Hacker News new | ask | show | jobs
by feelamee 32 days ago
> Your BLAS library will provide you just the four basic element types, ..., and you still need fallback logic anyways to handle the other types.

so, your problem with it is that it does all you want (e.g. LAPACK bindings) AND give extra features??

> so it takes a decent amount of dispatch logic to convert the template interface to the actual library calls

I can't estimate how much this degrades performance. But, it feels very low overhead compared to the calculation itself (and probably should be resolved at compile time)

1 comments

> so, your problem with it is that it does all you want (e.g. LAPACK bindings) AND give extra features??

You've completely misunderstood the point: the point is that the "extra features" means you won't get the main feature (BLAS bindings).

I don't see any problems implementing those 4 types as bindings and others by manual implementation