code: public static int cusparseSgemvi(
          cusparseHandle handle, 
          int transA, 
          int m, 
          int n, 
          Pointer alpha, /** host or device pointer */
          Pointer A, 
          int lda, 
          int nnz, 
          Pointer xVal, 
          Pointer xInd, 
          Pointer beta, /** host or device pointer */
          Pointer y, 
          int idxBase, 
          Pointer pBuffer)
      {
          return checkResult(cusparseSgemviNative(handle, transA, m, n, alpha, A, lda, nnz, xVal, xInd, beta, y, idxBase, pBuffer));
      }
docs: --- Sparse Level 2 routines ---