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

MKL: row_major in summary stats could be moved to general mkl enum for other oneMKL domains to use #326

Open
spencerpatty opened this issue May 4, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request MKL

Comments

@spencerpatty
Copy link
Contributor

spencerpatty commented May 4, 2021

@paveldyakov I noticed that you have a oneapi::mkl::stats::layout::row_major format defined. At some point in sparse domain we are likely going to want to use the layout type variable as well. Do you think it makes sense to move it to a general mkl enum class type like oneapi::mkl::layout::row_major ? (same for column_major).

I understand that currently BLAS and LAPACK domains are currently using row_major and column_major namespaces so they might not need it, but who knows for the future if any type of dense matrix object is created... :)

@spencerpatty spencerpatty self-assigned this May 4, 2021
@spencerpatty spencerpatty added enhancement New feature or request MKL labels May 4, 2021
@paveldyakov
Copy link
Contributor

@spencerpatty, The proposal sounds great for me. I think it make sense in collaboration between stats and sparse domains on this question.
Note: moving layout enum to the mkl namespace breaks backward compatibility for stats domain.

@spencerpatty
Copy link
Contributor Author

@paveldyakov yeah it is true, I guess until the next major release we might have to go through process of adding an API that takes either mkl::layout and deprecate the one that takes mkl::stats::layout but support both?

@paveldyakov
Copy link
Contributor

@spencerpatty, yes, that is the right way here. We can add additional APIs for stats when mkl::layout is introduced. Spencer, am I right that 1.1 spec release is not a major release of specification?

@spencerpatty
Copy link
Contributor Author

am I right that 1.1 spec release is not a major release of specification?

Yes that is correct, this is a minor update, so deprecations are fine, and the timer starts for actual removal in a major release in a couple years....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MKL
Projects
None yet
Development

No branches or pull requests

2 participants