/external/eigen/test/ |
D | unalignedassert.cpp | 15 #define EIGEN_MAX_ALIGN_BYTES 16 macro 18 #define EIGEN_MAX_ALIGN_BYTES 32 macro 21 #define EIGEN_MAX_ALIGN_BYTES 64 macro 98 _buf += (EIGEN_MAX_ALIGN_BYTES - (_buf % EIGEN_MAX_ALIGN_BYTES)); // make 16/32/...-byte aligned in construct_at_boundary() 113 construct_at_boundary<Vector8f>(EIGEN_MAX_ALIGN_BYTES); in unalignedassert() 117 construct_at_boundary<Matrix4f>(EIGEN_MAX_ALIGN_BYTES); in unalignedassert() 121 construct_at_boundary<Vector4d>(EIGEN_MAX_ALIGN_BYTES); in unalignedassert() 125 construct_at_boundary<Vector8d>(EIGEN_MAX_ALIGN_BYTES); in unalignedassert() 128 construct_at_boundary<Vector12d>(EIGEN_MAX_ALIGN_BYTES); in unalignedassert() 129 construct_at_boundary<Matrix2d>(EIGEN_MAX_ALIGN_BYTES); in unalignedassert() [all …]
|
D | dynalloc.cpp | 12 #if EIGEN_MAX_ALIGN_BYTES>0 13 #define ALIGNMENT EIGEN_MAX_ALIGN_BYTES 109 #if EIGEN_MAX_ALIGN_BYTES>0 in check_custom_new_delete()
|
D | mapstride.cpp | 73 …= (Scalar*)(((internal::UIntPtr(a_array2)+EIGEN_MAX_ALIGN_BYTES-1)/EIGEN_MAX_ALIGN_BYTES)*EIGEN_MA… in map_class_matrix()
|
D | mapped_matrix.cpp | 28 …Scalar* array3unaligned = (internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES) == 0 ? array3+1 : arra… in map_class_vector() 68 …Scalar* array3unaligned = internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES == 0 ? array3+1 : array3; in map_class_matrix() 132 …Scalar* array3unaligned = internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES == 0 ? array3+1 : array3; in map_static_methods()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | base_collective_executor.cc | 48 if (EIGEN_MAX_ALIGN_BYTES == 0) return base_chunk_elts; in AlignedChunkElts() 49 if (EIGEN_MAX_ALIGN_BYTES <= elt_bytes) { in AlignedChunkElts() 51 DCHECK_EQ(0, elt_bytes % EIGEN_MAX_ALIGN_BYTES); in AlignedChunkElts() 56 DCHECK_EQ(0, EIGEN_MAX_ALIGN_BYTES % elt_bytes) in AlignedChunkElts() 58 << " EIGEN_MAX_ALIGN_BYTES=" << EIGEN_MAX_ALIGN_BYTES in AlignedChunkElts() 63 (chunk_bytes < EIGEN_MAX_ALIGN_BYTES) in AlignedChunkElts() 64 ? (EIGEN_MAX_ALIGN_BYTES - chunk_bytes) in AlignedChunkElts() 65 : (EIGEN_MAX_ALIGN_BYTES - (chunk_bytes % EIGEN_MAX_ALIGN_BYTES)); in AlignedChunkElts() 68 DCHECK_EQ(0, ((base_chunk_elts * elt_bytes) % EIGEN_MAX_ALIGN_BYTES)) in AlignedChunkElts() 70 << " EIGEN_MAX_ALIGN_BYTES=" << EIGEN_MAX_ALIGN_BYTES in AlignedChunkElts()
|
/external/eigen/Eigen/src/Core/util/ |
D | Constants.h | 236 #if EIGEN_MAX_ALIGN_BYTES==128 238 #elif EIGEN_MAX_ALIGN_BYTES==64 240 #elif EIGEN_MAX_ALIGN_BYTES==32 242 #elif EIGEN_MAX_ALIGN_BYTES==16 244 #elif EIGEN_MAX_ALIGN_BYTES==8 246 #elif EIGEN_MAX_ALIGN_BYTES==0 249 #error Invalid value for EIGEN_MAX_ALIGN_BYTES
|
D | Macros.h | 734 #if defined(EIGEN_MAX_ALIGN_BYTES) && EIGEN_MAX_ALIGN_BYTES<EIGEN_MAX_STATIC_ALIGN_BYTES 736 #define EIGEN_MAX_STATIC_ALIGN_BYTES EIGEN_MAX_ALIGN_BYTES 763 #if defined(EIGEN_DONT_ALIGN) && defined(EIGEN_MAX_ALIGN_BYTES) && EIGEN_MAX_ALIGN_BYTES>0 764 #error EIGEN_MAX_ALIGN_BYTES and EIGEN_DONT_ALIGN are both defined with EIGEN_MAX_ALIGN_BYTES!=0. U… 768 #ifdef EIGEN_MAX_ALIGN_BYTES 769 #undef EIGEN_MAX_ALIGN_BYTES 771 #define EIGEN_MAX_ALIGN_BYTES 0 macro 772 #elif !defined(EIGEN_MAX_ALIGN_BYTES) 773 #define EIGEN_MAX_ALIGN_BYTES EIGEN_IDEAL_MAX_ALIGN_BYTES macro 776 #if EIGEN_IDEAL_MAX_ALIGN_BYTES > EIGEN_MAX_ALIGN_BYTES [all …]
|
D | Memory.h | 656 #if EIGEN_MAX_ALIGN_BYTES!=0 692 …ERATOR_NEW_IF(bool(((Size)!=Eigen::Dynamic) && ((sizeof(Scalar)*(Size))%EIGEN_MAX_ALIGN_BYTES==0)))
|
D | XprHelper.h | 227 enum { value = EIGEN_MAX_ALIGN_BYTES };
|
/external/tensorflow/tensorflow/core/framework/ |
D | ops_util.h | 53 #if EIGEN_MAX_ALIGN_BYTES == 0 in IsInnerDimsSizeAligned() 57 return bytes_per_dim0 % EIGEN_MAX_ALIGN_BYTES == 0; in IsInnerDimsSizeAligned() 68 #if EIGEN_MAX_ALIGN_BYTES == 0 in IsDim0SliceAligned() 71 bool start_aligned = (start * sizeof(T)) % EIGEN_MAX_ALIGN_BYTES == 0; in IsDim0SliceAligned() 76 bool end_aligned = (end_or_size * sizeof(T)) % EIGEN_MAX_ALIGN_BYTES == 0; in IsDim0SliceAligned()
|
D | tensor.h | 236 #if EIGEN_MAX_ALIGN_BYTES == 0 in IsAligned() 240 return reinterpret_cast<intptr_t>(ptr) % EIGEN_MAX_ALIGN_BYTES == 0; in IsAligned() 988 EIGEN_MAX_ALIGN_BYTES)); in Tensor()
|
D | tensor_test.cc | 1260 #if EIGEN_MAX_ALIGN_BYTES > 0 in TEST() 1299 #if EIGEN_MAX_ALIGN_BYTES > 0 in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ops_util_test.cc | 318 #if EIGEN_MAX_ALIGN_BYTES == 0 in TEST_F() 326 Tensor t(DT_FLOAT, TensorShape({EIGEN_MAX_ALIGN_BYTES * 2})); in TEST_F() 328 int64 end = EIGEN_MAX_ALIGN_BYTES; in TEST_F() 338 #if EIGEN_MAX_ALIGN_BYTES > 0 340 Tensor t(DT_FLOAT, TensorShape({EIGEN_MAX_ALIGN_BYTES * 2})); in TEST_F() 342 int64 end = EIGEN_MAX_ALIGN_BYTES + 1; in TEST_F() 353 #if EIGEN_MAX_ALIGN_BYTES == 0 in TEST_F() 363 int64 inner_dim_size = EIGEN_MAX_ALIGN_BYTES; in TEST_F() 376 #if EIGEN_MAX_ALIGN_BYTES > 0 379 int64 inner_dim_size = EIGEN_MAX_ALIGN_BYTES + 1; in TEST_F()
|
/external/eigen/doc/ |
D | PreprocessorDirectives.dox | 103 …- \b \c EIGEN_MAX_ALIGN_BYTES - Must be a power of two, or 0. Defines an upper bound on the memory… 104 …EIGEN_MAX_ALIGN_BYTES=16. In the other way round, since by default AVX implies 32 bytes alignment … 105 …EIGEN_MAX_ALIGN_BYTES but for statically allocated data only. By default, if only \c EIGEN_MAX_AL… 125 …- \c EIGEN_DONT_ALIGN - Deprecated, it is a synonym for \c EIGEN_MAX_ALIGN_BYTES=0. It disables al…
|
/external/eigen/Eigen/src/Core/ |
D | GeneralProduct.h | 173 …<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize)+(ForceAlignment?EIGEN_MAX_ALIGN_BYTES:0),0> m_da… 176 …>((internal::UIntPtr(m_data.array) & ~(std::size_t(EIGEN_MAX_ALIGN_BYTES-1))) + EIGEN_MAX_ALIGN_BY…
|
D | MapBase.h | 189 #if EIGEN_MAX_ALIGN_BYTES>0
|
D | PlainObjectBase.h | 126 #if EIGEN_MAX_ALIGN_BYTES>0
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | eigen_support.cc | 37 kDefaultTensorAlignment % EIGEN_MAX_ALIGN_BYTES == 0,
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | buffer_map.cc | 67 EIGEN_MAX_ALIGN_BYTES, tensor->bytes)) { in TfLiteTensorBuffer()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorTraits.h | 32 #if EIGEN_MAX_ALIGN_BYTES>0
|
D | TensorFixedSize.h | 42 IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0),
|
D | Tensor.h | 76 IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0) & !(Options_&DontAlign),
|
/external/eigen/Eigen/ |
D | Core | 86 // if alignment is disabled, then disable vectorization. Note: EIGEN_MAX_ALIGN_BYTES is the proper … 87 // account both the user's will (EIGEN_MAX_ALIGN_BYTES,EIGEN_DONT_ALIGN) and our own platform checks 88 #if EIGEN_MAX_ALIGN_BYTES==0
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_func.cc | 401 std::max(1, EIGEN_MAX_ALIGN_BYTES) != in ConvertNdarrayToTensor()
|
/external/eigen/Eigen/src/Core/products/ |
D | TriangularMatrixMatrix.h | 282 std::size_t sizeB = kc*cols+EIGEN_MAX_ALIGN_BYTES/sizeof(Scalar);
|