#include <cstdint>
Go to the source code of this file.
Classes | |
struct | MatrixElement< Real > |
struct | MatrixDim_ |
Structure containing size of the matrix plus stride. More... | |
struct | CuBlockMatrixData_ |
This structure is used in cu-block-matrix.h to store information about a block-diagonal matrix. More... | |
struct | Int32Pair |
Macros | |
#define | CU1DBLOCK 256 |
#define | CU2DBLOCK 16 |
Typedefs | |
typedef uint32_t | uint32_cuda |
typedef int32_t | int32_cuda |
typedef int32_t | MatrixIndexT_cuda |
typedef struct MatrixDim_ | MatrixDim |
Structure containing size of the matrix plus stride. More... | |
typedef struct CuBlockMatrixData_ | CuBlockMatrixData |
This structure is used in cu-block-matrix.h to store information about a block-diagonal matrix. More... | |
typedef struct Int32Pair | Int32Pair |
Functions | |
bool | operator< (const Int32Pair &a, const Int32Pair &b) |
#define CU1DBLOCK 256 |
Definition at line 57 of file cu-matrixdim.h.
Referenced by CuVectorBase< float >::Add(), CuVectorBase< float >::AddColSumMat(), CuVectorBase< float >::AddDiagMatMat(), CuMatrixBase< float >::AddElements(), CuBlockMatrix< Real >::AddMatMat(), CuVectorBase< float >::AddRowSumMat(), CuMatrixBase< float >::AddSmat(), CuPackedMatrix< Real >::AddToDiag(), CuMatrixBase< float >::AddToDiag(), CuMatrixBase< float >::AddToElements(), CuVectorBase< float >::AddVecVec(), CuVectorBase< float >::ApplyExp(), CuVectorBase< float >::ApplyLog(), CuVectorBase< float >::ApplyLogSoftMax(), CuVectorBase< float >::ApplySoftMax(), kaldi::cu::BackpropLstmNonlinearity(), CuVectorBase< float >::Ceiling(), CuMatrix< float >::CompObjfAndDeriv(), kaldi::cu::ComputeLstmNonlinearity(), CuVectorBase< float >::CopyColFromMat(), CuMatrixBase< float >::CopyColsFromVec(), CuVectorBase< float >::CopyDiagFromPacked(), CuVectorBase< float >::CopyElements(), CuSpMatrix< Real >::CopyFromMat(), CuMatrixBase< float >::CopyFromMat(), CuSparseMatrix< Real >::CopyToMat(), CuMatrixBase< float >::DiffGroupPnorm(), CuMatrixBase< float >::DiffLogSoftmaxPerRow(), kaldi::cu::DiffNormalizePerRow(), CuMatrixBase< float >::DiffSoftmaxPerRow(), CuMatrixBase< float >::FindRowMaxId(), CuVectorBase< float >::Floor(), CuMatrixBase< float >::GroupMax(), CuMatrixBase< float >::GroupPnorm(), CuVectorBase< float >::InvertElements(), CuMatrixBase< float >::LogSoftMaxPerRow(), CuMatrixBase< float >::Lookup(), CuVectorBase< float >::Max(), CuMatrixBase< float >::Max(), CuVectorBase< float >::Min(), CuMatrixBase< float >::Min(), CuVectorBase< float >::MulElements(), kaldi::cu::NormalizePerRow(), CuVectorBase< float >::Pow(), CuVectorBase< float >::ReplaceValue(), CuVectorBase< float >::Scale(), CuPackedMatrix< Real >::ScaleDiag(), CuSparseMatrix< Real >::SelectRows(), CuArrayBase< Int32Pair >::Sequence(), CuVectorBase< float >::Set(), CuPackedMatrix< Real >::SetDiag(), CuMatrixBase< float >::SoftMaxPerRow(), CuVectorBase< float >::Sum(), CuMatrixBase< float >::Sum(), kaldi::TestCuVectorCopyFromVec(), CuMatrixBase< float >::Trace(), kaldi::TraceMatMat(), and kaldi::TraceMatSmat().
#define CU2DBLOCK 16 |
Definition at line 61 of file cu-matrixdim.h.
Referenced by CuArrayBase< Int32Pair >::Add(), CuMatrixBase< float >::AddDiagVecMat(), CuMatrixBase< float >::AddMat(), CuMatrixBase< float >::AddMatBlock(), CuBlockMatrix< Real >::AddMatMat(), CuSpMatrix< Real >::AddVec2(), kaldi::cu::Copy(), CuTpMatrix< Real >::CopyFromMat(), CuSpMatrix< Real >::CopyFromMat(), CuMatrixBase< float >::CopyFromSp(), CuMatrixBase< float >::CopyFromTp(), CuMatrixBase< float >::CopyLowerToUpper(), CuMatrixBase< float >::CopyRows(), CuMatrixBase< float >::CopyToRows(), CuMatrixBase< float >::CopyUpperToLower(), CuMatrixBase< float >::DiffParametricRelu(), CuMatrixBase< float >::DiffXent(), CuMatrixBase< float >::GroupMaxDeriv(), CuMatrixBase< float >::GroupPnorm(), CuTpMatrix< Real >::Invert(), CuMatrixBase< float >::ParametricRelu(), kaldi::cu::RegularizeL1(), CuArrayBase< Int32Pair >::Set(), and kaldi::cu::Splice().
typedef struct CuBlockMatrixData_ CuBlockMatrixData |
This structure is used in cu-block-matrix.h to store information about a block-diagonal matrix.
We declare it here so that it will be accessible
typedef int32_t int32_cuda |
Definition at line 31 of file cu-matrixdim.h.
typedef struct MatrixDim_ MatrixDim |
Structure containing size of the matrix plus stride.
This structure is an argument of most of the CUDA kernels.
typedef int32_t MatrixIndexT_cuda |
Definition at line 32 of file cu-matrixdim.h.
typedef uint32_t uint32_cuda |
Definition at line 30 of file cu-matrixdim.h.
Definition at line 83 of file cu-matrixdim.h.
References Int32Pair::first, and Int32Pair::second.
Referenced by NnetBatchComputer::PrintMinibatchStats().