code: public static int cusparseSdoti(
          cusparseHandle handle, 
          int nnz, 
          Pointer xVal, 
          Pointer xInd, 
          Pointer y, 
          Pointer resultDevHostPtr, 
          int idxBase)
      {
          return checkResult(cusparseSdotiNative(handle, nnz, xVal, xInd, y, resultDevHostPtr, idxBase));
      }
docs: Description: dot product of a sparse vector x and a dense vector y.