/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | attention_fp32.h | 25 typedef struct Matrix { struct 34 } Matrix; argument 36 int InitMatrix(Matrix *matrix, int batch, int row, int col, bool is_trans); 38 size_t LeftMatrixPackElementSize(Matrix *matrix, int row_tile); 40 size_t RightMatrixPackElementSize(Matrix *matrix, int col_tile); 42 int PackLeftMatrix(Matrix *matrix, int row_tile); 44 int PackRightMatrix(Matrix *matrix, int col_tile); 46 int PackAttentionBias(Matrix *matrix, int tile); 48 …ithPosition(RelativePositionAttentionParameter *param, Matrix *q_mat, const Matrix *wq_mat, Matrix… 49 Matrix *q2wq_mat, Matrix *pu_mat, Matrix *pv_mat, Matrix *q2wq_with_pos_mat, [all …]
|
D | attention_fp32.c | 26 int InitMatrix(Matrix *matrix, int batch, int row, int col, bool is_trans) { in InitMatrix() argument 27 if (matrix == NULL) { in InitMatrix() 30 matrix->batch_ = batch; in InitMatrix() 31 matrix->row_ = row; in InitMatrix() 32 matrix->col_ = col; in InitMatrix() 33 matrix->is_transpose_ = is_trans; in InitMatrix() 34 matrix->data_ = NULL; in InitMatrix() 35 matrix->packed_data_ = NULL; in InitMatrix() 39 size_t LeftMatrixPackElementSize(Matrix *matrix, int row_tile) { in LeftMatrixPackElementSize() argument 40 if (matrix == NULL) { in LeftMatrixPackElementSize() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | hlsl.matType.int.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of int) 10 0:25 'r00' ( temp 1X1 matrix of int) 11 0:25 transpose ( temp 1X1 matrix of int) 12 0:25 'i1x1' ( temp 1X1 matrix of int) 14 0:26 move second child to first child ( temp 1X2 matrix of int) 15 0:26 'r01' ( temp 1X2 matrix of int) 16 0:26 transpose ( temp 1X2 matrix of int) 17 0:26 'i2x1' ( temp 2X1 matrix of int) 19 0:27 move second child to first child ( temp 1X3 matrix of int) 20 0:27 'r02' ( temp 1X3 matrix of int) [all …]
|
D | hlsl.mul-truncate.frag.out | 2 WARNING: 0:24: '' : mul() matrix size mismatch 3 WARNING: 0:25: '' : mul() matrix size mismatch 4 WARNING: 0:28: '' : mul() matrix size mismatch 5 WARNING: 0:29: '' : mul() matrix size mismatch 6 WARNING: 0:32: '' : mul() matrix size mismatch 7 WARNING: 0:33: '' : mul() matrix size mismatch 8 WARNING: 0:34: '' : mul() matrix size mismatch 9 WARNING: 0:35: '' : mul() matrix size mismatch 22 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … 27 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … [all …]
|
D | matrix2.frag.out | 12 0:21 move second child to first child ( temp 3X4 matrix of float) 13 0:21 'm34' ( temp 3X4 matrix of float) 14 0:21 outer product ( global 3X4 matrix of float) 17 0:23 add second child into first child ( temp 3X4 matrix of float) 18 0:23 'm34' ( temp 3X4 matrix of float) 41 0:26 vector-times-matrix ( temp 3-component vector of float) 43 0:26 'm34' ( temp 3X4 matrix of float) 46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float) 47 0:28 'm34' ( temp 3X4 matrix of float) 53 0:30 move second child to first child ( temp 4X4 matrix of float) [all …]
|
D | hlsl.matpack-pragma.frag.out | 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 19 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 29 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… 38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 39 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) [all …]
|
D | hlsl.type.type.conversion.all.frag.out | 2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o… 3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o… 4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o… 5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o… 6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o… 7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o… 8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o… 9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o… 10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o… 12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o… [all …]
|
D | hlsl.matType.bool.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of bool) 10 0:25 'r00' ( temp 1X1 matrix of bool) 11 0:25 transpose ( temp 1X1 matrix of bool) 12 0:25 'b1x1' ( temp 1X1 matrix of bool) 14 0:26 move second child to first child ( temp 1X2 matrix of bool) 15 0:26 'r01' ( temp 1X2 matrix of bool) 16 0:26 transpose ( temp 1X2 matrix of bool) 17 0:26 'b2x1' ( temp 2X1 matrix of bool) 19 0:27 move second child to first child ( temp 1X3 matrix of bool) 20 0:27 'r02' ( temp 1X3 matrix of bool) [all …]
|
D | hlsl.matNx1.frag.out | 9 0:13 move second child to first child ( temp 1X1 matrix of float) 10 0:13 'r00' ( temp 1X1 matrix of float) 11 0:13 transpose ( temp 1X1 matrix of float) 12 0:13 'f1x1' ( temp 1X1 matrix of float) 14 0:14 move second child to first child ( temp 1X2 matrix of float) 15 0:14 'r01' ( temp 1X2 matrix of float) 16 0:14 transpose ( temp 1X2 matrix of float) 17 0:14 'f2x1' ( temp 2X1 matrix of float) 19 0:15 move second child to first child ( temp 1X3 matrix of float) 20 0:15 'r02' ( temp 1X3 matrix of float) [all …]
|
D | hlsl.intrinsics.vert.out | 680 0:331 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float) 682 0:331 'inF0' ( in 2X2 matrix of float) 683 0:331 'inF1' ( in 2X2 matrix of float) 684 0:331 'inF2' ( in 2X2 matrix of float) 687 0:333 Convert float to bool ( temp 2X2 matrix of bool) 688 0:333 'inF0' ( in 2X2 matrix of float) 689 0:333 Absolute value ( temp 2X2 matrix of float) 690 0:333 'inF0' ( in 2X2 matrix of float) 691 0:333 arc cosine ( temp 2X2 matrix of float) 692 0:333 'inF0' ( in 2X2 matrix of float) [all …]
|
D | hlsl.intrinsics.frag.out | 1600 0:402 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float) 1602 0:402 'inF0' ( in 2X2 matrix of float) 1603 0:402 'inF1' ( in 2X2 matrix of float) 1604 0:402 'inF2' ( in 2X2 matrix of float) 1610 0:404 Convert float to bool ( temp 2X2 matrix of bool) 1611 0:404 'inF0' ( in 2X2 matrix of float) 1613 0:404 move second child to first child ( temp 2X2 matrix of float) 1614 0:404 'r001' ( temp 2X2 matrix of float) 1615 0:404 Absolute value ( temp 2X2 matrix of float) 1616 0:404 'inF0' ( in 2X2 matrix of float) [all …]
|
D | 300layout.vert.out | 6 ERROR: 0:12: 'layout' : cannot specify matrix layout on a variable declaration 31 0:46 vector-times-matrix ( temp highp 4-component vector of float) 33 0:46 add ( temp highp 4X4 matrix of float) 34 0:46 add ( temp highp 4X4 matrix of float) 35 0:46 add ( temp highp 4X4 matrix of float) 36 0:46 add ( temp highp 4X4 matrix of float) 37 …: direct index for structure (layout( row_major std140 offset=0) uniform highp 4X4 matrix of float) 38 …matrix of float M1, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float M2, l… 41 …rect index for structure (layout( column_major std140 offset=64) uniform highp 4X4 matrix of float) 42 …matrix of float M1, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float M2, l… [all …]
|
D | hlsl.matpack-1.frag.out | 10 0:24 vector-times-matrix ( temp 4-component vector of float) 12 … uniform structure{layout( row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X… 13 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, temp 4-component vecto… 18 0:24 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) 19 … uniform structure{layout( row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X… 20 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, temp 4-component vecto… 25 0:25 vector-times-matrix ( temp 4-component vector of float) 27 …yout( row_major std140) uniform structure{layout( column_major) temp 4X4 matrix of float mat1, te… 28 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, temp 4-component vecto… 33 0:25 mat1: direct index for structure (layout( column_major) temp 4X4 matrix of float) [all …]
|
D | matrixError.vert.out | 6 ERROR: 0:19: 'xy' : does not apply to this type: temp 2X3 matrix of float 7 ERROR: 0:21: '[' : matrix index out of range '2' 9 ERROR: 0:22: 'assign' : cannot convert from ' temp 2X3 matrix of float' to ' temp 2X3 matrix of fl… 10 ERROR: 0:23: 'assign' : cannot convert from ' uniform 3X2 matrix of float' to ' temp 2X3 matrix of… 21 0:19 'm23' ( temp 2X3 matrix of float) 25 0:21 matrix-times-vector ( temp 3-component vector of float) 26 0:21 matrix-multiply ( temp 3X3 matrix of float) 27 0:21 'm23' ( temp 2X3 matrix of float) 28 0:21 'm32' ( uniform 3X2 matrix of float) 32 0:21 'm24' ( temp 2X4 matrix of float) [all …]
|
/third_party/boost/boost/numeric/ublas/ |
D | matrix_vector.hpp | 23 /** \brief Iterator used in the represention of a matrix as a vector of rows or columns 25 * Iterator used in the represention of a matrix as a vector of rows/columns. It refers 26 * to the i-th element of the matrix, a column or a row depending of Reference type. 28 * The type of Reference should provide a constructor Reference(matrix, i) 30 * This iterator is invalidated when the underlying matrix is resized. 32 * \tparameter Matrix type of matrix that is represented as a vector of row/column 33 * \tparameter Reference Matrix row or matrix column type. 35 template<class Matrix, class Reference> 37 matrix_vector_iterator<Matrix,Reference>, 47 matrix_vector_iterator(Matrix& matrix, std::size_t position) in matrix_vector_iterator() argument [all …]
|
/third_party/cmsis/CMSIS/DSP/Include/dsp/ |
D | matrix_functions.h | 42 * @defgroup groupMatrix Matrix Functions 44 * This set of functions provides basic matrix math operations. 45 * The functions operate on matrix data structures. For example, 47 * definition for the floating-point matrix structure is shown 52 * uint16_t numRows; // number of rows of the matrix. 53 * uint16_t numCols; // number of columns of the matrix. 54 * float32_t *pData; // points to the data of the matrix. 59 * The structure specifies the size of the matrix and then points to 62 * matrix element (i, j) is stored at: 68 * There is an associated initialization function for each type of matrix [all …]
|
D | matrix_functions_f16.h | 45 * @brief Instance structure for the floating-point matrix structure. 49 uint16_t numRows; /**< number of rows of the matrix. */ 50 uint16_t numCols; /**< number of columns of the matrix. */ 51 float16_t *pData; /**< points to the data of the matrix. */ 55 * @brief Floating-point matrix addition. 56 * @param[in] pSrcA points to the first input matrix structure 57 * @param[in] pSrcB points to the second input matrix structure 58 * @param[out] pDst points to output matrix structure 68 * @brief Floating-point, complex, matrix multiplication. 69 * @param[in] pSrcA points to the first input matrix structure [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuMatrix.hpp | 23 * \brief Templatized matrix class. 33 // Templated matrix class. 35 class Matrix class 48 Matrix (void); 49 explicit Matrix (const T& src); 50 explicit Matrix (const T src[Rows*Cols]); 51 Matrix (const Vector<T, Rows>& src); 52 Matrix (const Matrix<T, Rows, Cols>& src); 53 ~Matrix (void); 55 Matrix<T, Rows, Cols>& operator= (const Matrix<T, Rows, Cols>& src); [all …]
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | Matrix.java | 13 * 4x4 matrix backed by SkM44 15 public class Matrix { class 19 * Returns identity Matrix 21 public Matrix() { in Matrix() method in Matrix 29 * Returns Matrix populated with values passed in (row-major order). 31 public Matrix(float m0, float m4, float m8, float m12, in Matrix() method in Matrix 41 Matrix(long nativeInstance) { in Matrix() method in Matrix 45 public static Matrix makeLookAt(float eyeX, float eyeY, float eyeZ, in makeLookAt() 48 return new Matrix(nCreateLookAt(eyeX, eyeY, eyeZ, in makeLookAt() 53 public static Matrix makePerspective(float near, float far, float angle) { in makePerspective() [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_integer.hpp | 34 /// High-precision signed integer 2x2 matrix. 38 /// High-precision signed integer 3x3 matrix. 42 /// High-precision signed integer 4x4 matrix. 46 /// High-precision signed integer 2x2 matrix. 50 /// High-precision signed integer 2x3 matrix. 54 /// High-precision signed integer 2x4 matrix. 58 /// High-precision signed integer 3x2 matrix. 62 /// High-precision signed integer 3x3 matrix. 66 /// High-precision signed integer 3x4 matrix. 70 /// High-precision signed integer 4x2 matrix. [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Matrix.hpp | 24 struct Matrix struct 26 Matrix(); 27 Matrix(const int i); 28 Matrix(const float m[16]); 29 Matrix(const float m[4][4]); 30 Matrix(float m11, float m12, float m13, 33 Matrix(float m11, float m12, float m13, float m14, 37 Matrix(const Vector &v1, const Vector &v2, const Vector &v3); // Column vectors 42 static Matrix diag(float m11, float m22, float m33, float m44); 46 Matrix operator+() const; [all …]
|
/third_party/ffmpeg/libavresample/ |
D | audio_mix_matrix.c | 94 double matrix[64][64] = {{0}}; in avresample_build_matrix() local 123 matrix[i][i] = 1.0; in avresample_build_matrix() 130 matrix[FRONT_LEFT ][FRONT_CENTER] += center_mix_level; in avresample_build_matrix() 131 matrix[FRONT_RIGHT][FRONT_CENTER] += center_mix_level; in avresample_build_matrix() 133 matrix[FRONT_LEFT ][FRONT_CENTER] += M_SQRT1_2; in avresample_build_matrix() 134 matrix[FRONT_RIGHT][FRONT_CENTER] += M_SQRT1_2; in avresample_build_matrix() 142 matrix[FRONT_CENTER][FRONT_LEFT ] += M_SQRT1_2; in avresample_build_matrix() 143 matrix[FRONT_CENTER][FRONT_RIGHT] += M_SQRT1_2; in avresample_build_matrix() 146 matrix[FRONT_CENTER][FRONT_CENTER] = center_mix_level * M_SQRT2; in avresample_build_matrix() 153 matrix[BACK_LEFT ][BACK_CENTER] += M_SQRT1_2; in avresample_build_matrix() [all …]
|
/third_party/opencl-headers/.github/workflows/ |
D | cmake.yml | 9 matrix: 25 …if [[ "${{matrix.GEN}}" == "Ninja" && ! `which ninja` ]]; then sudo apt install -y ninja-build; fi; 26 …if [[ "${{matrix.BIN}}" == "32" ]]; then sudo apt install -y gcc-multilib gcc-8-multilib gcc-9-mul… 32 -G "${{matrix.GEN}}" 34 -D CMAKE_BUILD_TYPE=${{matrix.VAR}} 35 -D CMAKE_C_FLAGS="-Wall -Wextra -Werror -pedantic -m${{matrix.BIN}}" 36 -D CMAKE_C_COMPILER=gcc-${{matrix.VER}} 37 -D CMAKE_C_STANDARD=${{matrix.STD}} 38 -D CMAKE_C_EXTENSIONS=${{matrix.EXT}} 66 -G "${{matrix.GEN}}" [all …]
|
/third_party/boost/libs/numeric/ublas/test/ |
D | test_matrix_vector.cpp | 11 #include <boost/numeric/ublas/matrix.hpp> 32 template <class Matrix> 36 typedef matrix_row_vector<Matrix> RowVector; in test_matrix_row_facade() 41 typename Matrix::size_type num_rows = 3; in test_matrix_row_facade() 42 typename Matrix::size_type num_cols = 5; in test_matrix_row_facade() 44 Matrix matrix(num_rows, num_cols); in test_matrix_row_facade() local 45 RowVector rows(matrix); in test_matrix_row_facade() 46 pass &= (matrix.size1() == num_rows); in test_matrix_row_facade() 48 pass &= (matrix.size2() == num_cols); in test_matrix_row_facade() 50 typename Matrix::size_type new_num_rows = 6; in test_matrix_row_facade() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/relate/ |
D | result.hpp | 53 // --------------- MATRIX ---------------- 55 // matrix 58 class matrix class 70 inline matrix() in matrix() function in boost::geometry::detail::relate::matrix 130 template <typename Matrix> 134 typedef Matrix result_type; 146 result_type const& matrix() const in matrix() function in boost::geometry::detail::relate::matrix_handler 151 result_type & matrix() in matrix() function in boost::geometry::detail::relate::matrix_handler 168 static const bool in_bounds = F1 < Matrix::static_height in set() 169 && F2 < Matrix::static_width; in set() [all …]
|