Searched refs:Matrix (Results 1 - 6 of 6) sorted by relevance
/gem5/src/mem/ruby/network/ |
H A D | Topology.hh | 54 typedef std::vector<std::vector<int> > Matrix; typedef 84 void extend_shortest_path(Matrix ¤t_dist, Matrix &latencies, 85 Matrix &inter_switches); 87 std::vector<std::vector<int>> shortest_path(const Matrix &weights, 88 Matrix &latencies, Matrix &inter_switches); 91 SwitchID final, const Matrix &weights, const Matrix &dist); 94 const Matrix [all...] |
H A D | Topology.cc | 122 Matrix topology_weights(num_switches, 124 Matrix component_latencies(num_switches, 126 Matrix component_inter_switches(num_switches, 146 Matrix dist = shortest_path(topology_weights, component_latencies, 221 Topology::extend_shortest_path(Matrix ¤t_dist, Matrix &latencies, 222 Matrix &inter_switches) 258 Matrix 259 Topology::shortest_path(const Matrix &weights, Matrix [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_buffers.cpp | 15 class Matrix { class 17 Matrix(ssize_t rows, ssize_t cols) : m_rows(rows), m_cols(cols) { function in class:Matrix 23 Matrix(const Matrix &s) : m_rows(s.m_rows), m_cols(s.m_cols) { function in class:Matrix 29 Matrix(Matrix &&s) : m_rows(s.m_rows), m_cols(s.m_cols), m_data(s.m_data) { function in class:Matrix 36 ~Matrix() { 41 Matrix &operator=(const Matrix &s) { 51 Matrix [all...] |
H A D | test_buffers.py | 14 m.Matrix(np.array([1, 2, 3])) # trying to assign a 1D array 18 m4 = m.Matrix(m3) 24 cstats = ConstructorStats.get(m.Matrix) 39 mat = m.Matrix(5, 4) 57 cstats = ConstructorStats.get(m.Matrix) 74 """SquareMatrix is derived from Matrix and inherits the buffer protocol"""
|
H A D | test_eigen.cpp | 21 using MatrixXdR = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>; 79 using FixedMatrixR = Eigen::Matrix<float, 5, 6, Eigen::RowMajor>; 80 using FixedMatrixC = Eigen::Matrix<float, 5, 6>; 81 using DenseMatrixR = Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>; 82 using DenseMatrixC = Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic>; 83 using FourRowMatrixC = Eigen::Matrix<float, 4, Eigen::Dynamic>; 84 using FourColMatrixC = Eigen::Matrix<float, Eigen::Dynamic, 4>; 85 using FourRowMatrixR = Eigen::Matrix<float, 4, Eigen::Dynamic>; 86 using FourColMatrixR = Eigen::Matrix<float, Eigen::Dynamic, 4>; 286 m.def("get_elem_rm_nocopy", [](Eigen::Ref<const Eigen::Matrix<lon [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | eigen.h | 81 // Matrix type: 149 if (dims == 2) { // Matrix type: require exact match (or dynamic) 517 // regular Eigen::Matrix, then casting that. 521 using Matrix = Eigen::Matrix<typename Type::Scalar, Type::RowsAtCompileTime, Type::ColsAtCompileTime>; 522 using props = EigenProps<Matrix>; 525 handle h = eigen_encapsulate<props>(new Matrix(src));
|
Completed in 11 milliseconds