Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLAS layer #8

Open
ocramz opened this issue Oct 16, 2018 · 4 comments
Open

BLAS layer #8

ocramz opened this issue Oct 16, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request R&D: library Research and (re-)design a library component

Comments

@ocramz
Copy link
Member

ocramz commented Oct 16, 2018

Unify dense and sparse lin.alg. , for a given underlying vector type, under one same interface

Blocked by #1 and #3

@ocramz ocramz added the enhancement New feature or request label Oct 16, 2018
@Shimuuar
Copy link
Contributor

Now this one is difficult, especially if efficiency is important (it is). We will probably end up with different backends with every single once having different constrains on elements which is possible to put into matrices. It's:

  • Double, Float, and Complex Double/Float for BLAS
  • (Storable a)/(Unbox a) if we're we store data in vectors
  • Anything else really. It's only bounded by craziness of backend implementor

Unifying all of these going to be difficult

@ocramz
Copy link
Member Author

ocramz commented Oct 17, 2018

We've got to try at least! I have a couple ideas to put on the table for this (based on closed type families).

@ocramz
Copy link
Member Author

ocramz commented Oct 18, 2018

@Shimuuar I'm wondering where to put any typeclasses that must be shared between dense-linear-algebra and the main package. In DLA itself, as a new module that will get re-exported ?

@Shimuuar
Copy link
Contributor

We'll probably split type classes into separate package in the end. But it sounds fine at the moment

BTW I have some BLAS bindings lying around. I should find them

@ocramz ocramz added the R&D: library Research and (re-)design a library component label Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request R&D: library Research and (re-)design a library component
Projects
None yet
Development

No branches or pull requests

2 participants