This function computes the number of nonzero elements per row or column and the total number of nonzero elements in a dense matrix. Thanks for considering them in the future releases of oneMKL.
Thanks for posting in Intel communities.
Thanks for sharing your requirement details. We are looking into your issue internally. We will get back to you soon with an update.
I'm not sure if you noticed that the cusparse<t>nnz function in the latest cuSPARSE version 12.2 is in their "Legacy APIs" section. Over the last few releases, we have noticed that cuSPARSE has been slowly deprecating and removing their legacy APIs (since around version 10.2 or 11.0, I believe, but I'm not exactly sure). Given this situation, I won't be surprised if they deprecate this API in a future release and maybe replace it with an alternative.
That said, our current plan is to add many APIs to oneMKL Sparse BLAS in the coming year(s) that will be alternatives similar to cuSPARSE's APIs.