Home
last modified time | relevance | path

Searched refs:IndexType (Results 1 – 25 of 96) sorted by relevance

1234

/external/eigen/Eigen/src/OrderingMethods/
DEigen_Colamd.h131 template <typename IndexType>
134 IndexType start ; /* index for A of first row in this column, or DEAD */
136 IndexType length ; /* number of rows in this column */
139 IndexType thickness ; /* number of original columns represented by this */
141 IndexType parent ; /* parent in parent tree super-column structure, if */
146 IndexType score ; /* the score used to maintain heap, if col is alive */
147 IndexType order ; /* pivot ordering of this column, if col is dead */
151 IndexType headhash ; /* head of a hash bucket, if col is at the head of */
153 IndexType hash ; /* hash value, if col is not in a degree list */
154 IndexType prev ; /* previous column in degree list, if col is in a */
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.h45 class IndexType {
54 IndexType() {} in IndexType() function
55 IndexType(unsigned Idx) : Index(Idx) {} in IndexType() function
57 static bool isInstr(IndexType X) { return X.Index >= First; } in isInstr()
61 bool operator== (IndexType Idx) const;
63 bool operator!= (IndexType Idx) const;
64 IndexType operator++ ();
66 bool operator< (IndexType Idx) const;
67 bool operator<= (IndexType Idx) const;
70 bool operator> (IndexType Idx) const;
[all …]
DHexagonBlockRanges.cpp37 IndexType S = start(), E = end(), AS = A.start(), AE = A.end(); in overlaps()
51 IndexType E = (end() != IndexType::None) ? end() : start(); in contains()
52 IndexType AE = (A.end() != IndexType::None) ? A.end() : A.start(); in contains()
62 IndexType AS = A.start(), AE = A.end(); in merge()
63 if (AS < start() || start() == IndexType::None) in merge()
65 if (end() < AE || end() == IndexType::None) { in merge()
116 IndexType AS = A.start(), AE = A.end(); in addsub()
117 IndexType BS = B.start(), BE = B.end(); in addsub()
121 if (AE == IndexType::None) in addsub()
127 assert(AE != IndexType::None); in addsub()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.h45 class IndexType {
53 static bool isInstr(IndexType X) { return X.Index >= First; } in isInstr()
55 IndexType() : Index(None) {} in IndexType() function
56 IndexType(unsigned Idx) : Index(Idx) {} in IndexType() function
59 bool operator== (IndexType Idx) const;
61 bool operator!= (IndexType Idx) const;
62 IndexType operator++ ();
64 bool operator< (IndexType Idx) const;
65 bool operator<= (IndexType Idx) const;
68 bool operator> (IndexType Idx) const;
[all …]
DHexagonBlockRanges.cpp32 IndexType S = start(), E = end(), AS = A.start(), AE = A.end(); in overlaps()
47 IndexType E = (end() != IndexType::None) ? end() : start(); in contains()
48 IndexType AE = (A.end() != IndexType::None) ? A.end() : A.start(); in contains()
59 IndexType AS = A.start(), AE = A.end(); in merge()
60 if (AS < start() || start() == IndexType::None) in merge()
62 if (end() < AE || end() == IndexType::None) { in merge()
116 IndexType AS = A.start(), AE = A.end(); in addsub()
117 IndexType BS = B.start(), BE = B.end(); in addsub()
121 if (AE == IndexType::None) in addsub()
127 assert(AE != IndexType::None); in addsub()
[all …]
/external/eigen/Eigen/src/Core/functors/
DNullaryFunctors.h33 template<typename IndexType>
34 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (IndexType row, IndexType col) const…
50 template<typename IndexType>
51 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (IndexType i) const {
59 template<typename IndexType>
60 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(IndexType i) const
99 template<typename IndexType>
101 const Scalar operator() (IndexType i) const
135 template<typename IndexType>
136 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (IndexType i) const { return impl(i)…
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_types.h24 template <typename T, int NDIMS = 1, typename IndexType = Eigen::DenseIndex>
27 typedef Eigen::TensorMap<Eigen::Tensor<T, NDIMS, Eigen::RowMajor, IndexType>,
31 Eigen::Tensor<const T, NDIMS, Eigen::RowMajor, IndexType>, Eigen::Aligned>
35 typedef Eigen::TensorMap<Eigen::Tensor<T, NDIMS, Eigen::RowMajor, IndexType> >
38 Eigen::Tensor<const T, NDIMS, Eigen::RowMajor, IndexType> >
47 Eigen::TensorFixedSize<T, Eigen::Sizes<>, Eigen::RowMajor, IndexType>,
51 Eigen::RowMajor, IndexType>,
57 Eigen::TensorFixedSize<T, Eigen::Sizes<>, Eigen::RowMajor, IndexType> >
60 Eigen::RowMajor, IndexType> >
64 typedef Eigen::TensorMap<Eigen::Tensor<T, 1, Eigen::RowMajor, IndexType>,
[all …]
Dtensor_shape.h316 template <int NDIMS, typename IndexType = Eigen::DenseIndex>
317 Eigen::DSizes<IndexType, NDIMS> AsEigenDSizes() const;
323 template <int NDIMS, typename IndexType = Eigen::DenseIndex>
324 Eigen::DSizes<IndexType, NDIMS> AsEigenDSizesWithPadding() const;
479 template <int NDIMS, typename IndexType>
480 Eigen::DSizes<IndexType, NDIMS> TensorShape::AsEigenDSizes() const { in AsEigenDSizes()
482 return AsEigenDSizesWithPadding<NDIMS, IndexType>(); in AsEigenDSizes()
485 template <int NDIMS, typename IndexType>
486 Eigen::DSizes<IndexType, NDIMS> TensorShape::AsEigenDSizesWithPadding() const { in AsEigenDSizesWithPadding()
489 Eigen::DSizes<IndexType, NDIMS> dsizes; in AsEigenDSizesWithPadding()
[all …]
/external/vulkan-validation-layers/layers/
Dsparse_containers.h92 typedef IndexType_ IndexType; typedef
95 typedef std::unordered_map<IndexType, ValueType> SparseType;
98 SparseVector(IndexType start, IndexType end) in SparseVector()
119 const ValueType &Get(const IndexType index) const { in Get()
141 bool Set(const IndexType index, const ValueType &value) { in Set()
153 bool SetRange(const IndexType start, IndexType end, ValueType value) { in SetRange()
182 for (IndexType index = start; index < end; ++index) { in SetRange()
190 for (IndexType index = start; index < end; ++index) { in SetRange()
210 const IndexType index = (*it).first; in Merge()
218 for (IndexType entry = from.range_min_; entry < from.range_max_; ++entry) { in Merge()
[all …]
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h43 template<typename IndexType>
46 …static IndexType run( _MKL_DSS_HANDLE_t pt, IndexType maxfct, IndexType mnum, IndexType type, Inde… in run()
47IndexType *ia, IndexType *ja, IndexType *perm, IndexType nrhs, IndexType *iparm, IndexType msglvl,… in run()
49 IndexType error = 0; in run()
57 typedef long long int IndexType;
58 …static IndexType run( _MKL_DSS_HANDLE_t pt, IndexType maxfct, IndexType mnum, IndexType type, Inde…
59IndexType *ia, IndexType *ja, IndexType *perm, IndexType nrhs, IndexType *iparm, IndexType msglvl,…
61 IndexType error = 0;
/external/tensorflow/tensorflow/core/kernels/
Dconv_2d.h206 template <typename Device, typename T, typename IndexType, int NDIMS>
209 typename TTypes<T, NDIMS, IndexType>::ConstTensor in,
210 typename TTypes<T, NDIMS, IndexType>::Tensor out) {
212 Eigen::DSizes<IndexType, NDIMS - 2> spatial_dims;
218 Eigen::DSizes<IndexType, 3> merged_dims;
224 Eigen::DSizes<IndexType, 3> shuffling_perm;
226 Eigen::DSizes<IndexType, NDIMS> expanded_dims;
229 shuffling_perm = Eigen::DSizes<IndexType, 3>(2, 1, 0);
238 shuffling_perm = Eigen::DSizes<IndexType, 3>(2, 0, 1);
258 template <typename Device, typename T, typename IndexType>
[all …]
Deigen_contraction_kernel.h75 template <typename Scalar, typename IndexType, typename DataMapper,
80 template <typename Scalar, typename IndexType, typename DataMapper>
81 struct gemm_pack_colmajor_block<Scalar, IndexType, DataMapper,
89 void operator()(Scalar* block, const DataMapper& data_mapper, IndexType rows,
90 IndexType cols) {
91 const IndexType unrolled_rows = rows - 4 * PacketSize;
92 const IndexType vectorized_rows = rows - PacketSize;
94 for (IndexType col = 0; col < cols; ++col) {
97 IndexType row = 0;
100 for (IndexType j = 0; j < 4; ++j) {
[all …]
Dsplit_op.cc107 template <typename IndexType>
108 std::tuple<IndexType, IndexType, IndexType> SetDims( in SetDims()
110 static_assert(std::is_integral<IndexType>::value, in SetDims()
119 IndexType split_dim_size = in SetDims()
120 static_cast<IndexType>(input_shape.dim_size(split_dim)); in SetDims()
122 IndexType suffix_dim_size = 1; in SetDims()
124 suffix_dim_size *= static_cast<IndexType>(input_shape.dim_size(i)); in SetDims()
Dsplit_v_op.cc161 template <typename IndexType>
162 std::tuple<IndexType, IndexType, IndexType> SetDims( in SetDims()
164 static_assert(std::is_integral<IndexType>::value, in SetDims()
173 IndexType split_dim_size = in SetDims()
174 static_cast<IndexType>(input_shape.dim_size(split_dim)); in SetDims()
176 IndexType suffix_dim_size = 1; in SetDims()
178 suffix_dim_size *= static_cast<IndexType>(input_shape.dim_size(i)); in SetDims()
/external/eigen/Eigen/src/Core/
DVisitor.h204 template<typename IndexType>
207 DenseBase<Derived>::minCoeff(IndexType* rowId, IndexType* colId) const
222 template<typename IndexType>
225 DenseBase<Derived>::minCoeff(IndexType* index) const
230 *index = IndexType((RowsAtCompileTime==1) ? minVisitor.col : minVisitor.row);
241 template<typename IndexType>
244 DenseBase<Derived>::maxCoeff(IndexType* rowPtr, IndexType* colPtr) const
259 template<typename IndexType>
262 DenseBase<Derived>::maxCoeff(IndexType* index) const
DCoreEvaluators.h346 template <typename IndexType>
347 …_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i, IndexType j) const {…
348 template <typename IndexType>
349 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i) const { …
351 …te <typename T, typename IndexType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const Nullary…
352 …template <typename T, typename IndexType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const N…
358 template <typename IndexType>
359 …_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType=0, IndexType=0) const {…
360 …te <typename T, typename IndexType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const Nullary…
366 template <typename IndexType>
[all …]
DDenseBase.h449 template<typename IndexType> EIGEN_DEVICE_FUNC
450 typename internal::traits<Derived>::Scalar minCoeff(IndexType* row, IndexType* col) const;
451 template<typename IndexType> EIGEN_DEVICE_FUNC
452 typename internal::traits<Derived>::Scalar maxCoeff(IndexType* row, IndexType* col) const;
453 template<typename IndexType> EIGEN_DEVICE_FUNC
454 typename internal::traits<Derived>::Scalar minCoeff(IndexType* index) const;
455 template<typename IndexType> EIGEN_DEVICE_FUNC
456 typename internal::traits<Derived>::Scalar maxCoeff(IndexType* index) const;
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/
DARMGenSystemRegister.inc124 struct IndexType {
128 static const struct IndexType Index[] = {
170 [](const IndexType &LHS, const KeyType &RHS) {
184 struct IndexType {
188 static const struct IndexType Index[] = {
230 [](const IndexType &LHS, const KeyType &RHS) {
294 struct IndexType {
298 static const struct IndexType Index[] = {
344 [](const IndexType &LHS, const KeyType &RHS) {
358 struct IndexType {
[all …]
/external/libcxx/test/libcxx/utilities/variant/variant.variant/
Dvariant_size.pass.cpp41 template <class IndexType>
43 using Lim = std::numeric_limits<IndexType>; in test_index_type()
49 template <class IndexType>
51 using Lim = std::numeric_limits<IndexType>; in test_index_internals()
/external/deqp/framework/referencerenderer/
DrrRenderer.hpp81 DrawIndices (const void* ptr, IndexType type, int baseVertex = 0);
84 const IndexType indexType;
99 inline IndexType getIndexType (void) const { return m_indexType; } in getIndexType()
105 const IndexType m_indexType;
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorMeta.h171 template<typename IndexType, Index... Is>
173 array<Index, sizeof...(Is)> customIndices2Array(IndexType& idx, numeric_list<Index, Is...>) {
176 template<typename IndexType>
178 array<Index, 0> customIndices2Array(IndexType&, numeric_list<Index>) {
183 template<typename Index, std::size_t NumIndices, typename IndexType>
185 array<Index, NumIndices> customIndices2Array(IndexType& idx) {
DTensorStorage.h69 template<typename T, int Options_, typename IndexType, int NumIndices_>
70 class TensorStorage<T, DSizes<IndexType, NumIndices_>, Options_>
73 typedef IndexType Index;
74 typedef DSizes<IndexType, NumIndices_> Dimensions;
75 typedef TensorStorage<T, DSizes<IndexType, NumIndices_>, Options_> Self;
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenSystemOperands.inc1008 struct IndexType {
1012 static const struct IndexType Index[] = {
1035 [](const IndexType &LHS, const KeyType &RHS) {
1049 struct IndexType {
1053 static const struct IndexType Index[] = {
1076 [](const IndexType &LHS, const KeyType &RHS) {
1113 struct IndexType {
1117 static const struct IndexType Index[] = {
1138 [](const IndexType &LHS, const KeyType &RHS) {
1152 struct IndexType {
[all …]
/external/deqp/modules/glshared/
DglsDrawTest.hpp147 enum IndexType enum
187 static std::string indexTypeToString (IndexType type);
190 static int indexTypeSize (IndexType type);
228 IndexType indexType; //!< used only if drawMethod = DrawElements*
/external/pdfium/third_party/base/
Dstl_util.h64 template <typename IndexType, typename Collection>
65 bool IndexInBounds(const Collection& collection, IndexType index) { in IndexInBounds()
66 return index >= 0 && index < CollectionSize<IndexType>(collection); in IndexInBounds()

1234