Home
last modified time | relevance | path

Searched refs:EIGEN_MAX_ALIGN_BYTES (Results 1 – 25 of 28) sorted by relevance

12

/external/eigen/test/
Dunalignedassert.cpp15 #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 …]
Ddynalloc.cpp12 #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()
Dmapstride.cpp73 …= (Scalar*)(((internal::UIntPtr(a_array2)+EIGEN_MAX_ALIGN_BYTES-1)/EIGEN_MAX_ALIGN_BYTES)*EIGEN_MA… in map_class_matrix()
Dmapped_matrix.cpp28 …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/
Dbase_collective_executor.cc48 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/
DConstants.h236 #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
DMacros.h734 #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 …]
DMemory.h656 #if EIGEN_MAX_ALIGN_BYTES!=0
692 …ERATOR_NEW_IF(bool(((Size)!=Eigen::Dynamic) && ((sizeof(Scalar)*(Size))%EIGEN_MAX_ALIGN_BYTES==0)))
DXprHelper.h227 enum { value = EIGEN_MAX_ALIGN_BYTES };
/external/tensorflow/tensorflow/core/framework/
Dops_util.h53 #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()
Dtensor.h236 #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()
Dtensor_test.cc1260 #if EIGEN_MAX_ALIGN_BYTES > 0 in TEST()
1299 #if EIGEN_MAX_ALIGN_BYTES > 0 in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dops_util_test.cc318 #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/
DPreprocessorDirectives.dox103 …- \b \c EIGEN_MAX_ALIGN_BYTES - Must be a power of two, or 0. Defines an upper bound on the memory…
104EIGEN_MAX_ALIGN_BYTES=16. In the other way round, since by default AVX implies 32 bytes alignment …
105EIGEN_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/
DGeneralProduct.h173 …<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…
DMapBase.h189 #if EIGEN_MAX_ALIGN_BYTES>0
DPlainObjectBase.h126 #if EIGEN_MAX_ALIGN_BYTES>0
/external/tensorflow/tensorflow/lite/kernels/
Deigen_support.cc37 kDefaultTensorAlignment % EIGEN_MAX_ALIGN_BYTES == 0,
/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map.cc67 EIGEN_MAX_ALIGN_BYTES, tensor->bytes)) { in TfLiteTensorBuffer()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorTraits.h32 #if EIGEN_MAX_ALIGN_BYTES>0
DTensorFixedSize.h42 IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0),
DTensor.h76 IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0) & !(Options_&DontAlign),
/external/eigen/Eigen/
DCore86 // 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/
Dpy_func.cc401 std::max(1, EIGEN_MAX_ALIGN_BYTES) != in ConvertNdarrayToTensor()
/external/eigen/Eigen/src/Core/products/
DTriangularMatrixMatrix.h282 std::size_t sizeB = kc*cols+EIGEN_MAX_ALIGN_BYTES/sizeof(Scalar);

12