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

[Feature Request] Support value_or_pointer arguments for oneMKL functions #553

Open
ndgrigorian opened this issue Aug 9, 2024 · 2 comments
Labels
feature A request to add a new feature

Comments

@ndgrigorian
Copy link

OneAPI spec delineates value_or_pointer which enables writing complex programs where the results of kernels can be chained together without bringing data to the host.

Providing these overloads would improve usability of oneMKL Interfaces.

@Rbiessy Rbiessy added the feature A request to add a new feature label Aug 19, 2024
@Rbiessy
Copy link
Contributor

Rbiessy commented Aug 19, 2024

I agree it would be nice to implement this feature already in the spec. The spec uses value_or_pointer only for the BLAS domain and USM API, would that be enough for your purposes? @oneapi-src/onemkl-blas-write do you have any plan to work on that?

@ndgrigorian
Copy link
Author

I agree it would be nice to implement this feature already in the spec. The spec uses value_or_pointer only for the BLAS domain and USM API, would that be enough for your purposes? @oneapi-src/onemkl-blas-write do you have any plan to work on that?

Yes, it would be. It's also worth noting that rocBLAS and cuBLAS support pointers for scalar arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A request to add a new feature
Projects
None yet
Development

No branches or pull requests

2 participants