Open ndgrigorian opened 1 month ago
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?
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.
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.