22 #ifndef KALDI_CUDAMATRIX_CU_MATRIX_INL_H_    23 #define KALDI_CUDAMATRIX_CU_MATRIX_INL_H_    27 template<
typename Real>
    33   if (num_rows == 0 || num_cols == 0) {
    39                  num_rows >= 0 && num_cols >= 0 &&
    42     this->
data_ = mat.
data_ + 
static_cast<size_t>(col_offset) +
    43         static_cast<size_t>(row_offset) * 
static_cast<size_t>(mat.
stride_);
    44     this->num_cols_ = num_cols;
    45     this->num_rows_ = num_rows;
    50 template<
typename Real>
    55     CuMatrixBase<Real>(const_cast<Real*>(data), num_rows, num_cols, stride) {
    64   KALDI_ASSERT((num_rows != 0) == (num_cols != 0) && stride >= 0 &&
    65                num_rows >= 0 && num_cols >= 0 && stride >= 0);
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
CuSubMatrix(const CuMatrixBase< Real > &mat, const MatrixIndexT row_offset, const MatrixIndexT num_rows, const MatrixIndexT col_offset, const MatrixIndexT num_cols)
 
Real * data_
GPU data pointer (or regular matrix data pointer,. 
 
Matrix for CUDA computing. 
 
#define KALDI_ASSERT(cond)