/external/eigen/Eigen/src/Core/util/ |
D | ConfigureVectorization.h | 136 #if defined(EIGEN_MAX_ALIGN_BYTES) && EIGEN_MAX_ALIGN_BYTES<EIGEN_MAX_STATIC_ALIGN_BYTES 138 #define EIGEN_MAX_STATIC_ALIGN_BYTES EIGEN_MAX_ALIGN_BYTES 165 #if defined(EIGEN_DONT_ALIGN) && defined(EIGEN_MAX_ALIGN_BYTES) && EIGEN_MAX_ALIGN_BYTES>0 166 #error EIGEN_MAX_ALIGN_BYTES and EIGEN_DONT_ALIGN are both defined with EIGEN_MAX_ALIGN_BYTES!=0. U… 170 #ifdef EIGEN_MAX_ALIGN_BYTES 171 #undef EIGEN_MAX_ALIGN_BYTES 173 #define EIGEN_MAX_ALIGN_BYTES 0 macro 174 #elif !defined(EIGEN_MAX_ALIGN_BYTES) 175 #define EIGEN_MAX_ALIGN_BYTES EIGEN_IDEAL_MAX_ALIGN_BYTES macro 178 #if EIGEN_IDEAL_MAX_ALIGN_BYTES > EIGEN_MAX_ALIGN_BYTES [all …]
|
D | Constants.h | 241 #if EIGEN_MAX_ALIGN_BYTES==128 243 #elif EIGEN_MAX_ALIGN_BYTES==64 245 #elif EIGEN_MAX_ALIGN_BYTES==32 247 #elif EIGEN_MAX_ALIGN_BYTES==16 249 #elif EIGEN_MAX_ALIGN_BYTES==8 251 #elif EIGEN_MAX_ALIGN_BYTES==0 254 #error Invalid value for EIGEN_MAX_ALIGN_BYTES
|
D | Memory.h | 795 #if EIGEN_MAX_ALIGN_BYTES!=0 && !defined(EIGEN_HIP_DEVICE_COMPILE) 845 … (((EIGEN_MAX_ALIGN_BYTES>=16) && ((sizeof(Scalar)*(Size))%(EIGEN_MAX_ALIGN_BYTES )==0)) || \ 846 … ((EIGEN_MAX_ALIGN_BYTES>=32) && ((sizeof(Scalar)*(Size))%(EIGEN_MAX_ALIGN_BYTES/2)==0)) || \ 847 … ((EIGEN_MAX_ALIGN_BYTES>=64) && ((sizeof(Scalar)*(Size))%(EIGEN_MAX_ALIGN_BYTES/4)==0)) )))
|
/external/tensorflow/tensorflow/core/framework/ |
D | ops_util.h | 52 #if EIGEN_MAX_ALIGN_BYTES == 0 in IsInnerDimsSizeAligned() 56 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 | 313 #if EIGEN_MAX_ALIGN_BYTES == 0 in IsAligned() 318 (reinterpret_cast<intptr_t>(ptr) % EIGEN_MAX_ALIGN_BYTES == 0); in IsAligned() 1063 EIGEN_MAX_ALIGN_BYTES)); in Tensor()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | base_collective_executor.cc | 61 if (EIGEN_MAX_ALIGN_BYTES == 0) return base_chunk_elts; in AlignedChunkElts() 62 if (EIGEN_MAX_ALIGN_BYTES <= elt_bytes) { in AlignedChunkElts() 64 DCHECK_EQ(0, elt_bytes % EIGEN_MAX_ALIGN_BYTES); in AlignedChunkElts() 69 DCHECK_EQ(0, EIGEN_MAX_ALIGN_BYTES % elt_bytes) in AlignedChunkElts() 71 << " EIGEN_MAX_ALIGN_BYTES=" << EIGEN_MAX_ALIGN_BYTES in AlignedChunkElts() 76 (chunk_bytes < EIGEN_MAX_ALIGN_BYTES) in AlignedChunkElts() 77 ? (EIGEN_MAX_ALIGN_BYTES - chunk_bytes) in AlignedChunkElts() 78 : (EIGEN_MAX_ALIGN_BYTES - (chunk_bytes % EIGEN_MAX_ALIGN_BYTES)); in AlignedChunkElts() 81 DCHECK_EQ(0, ((base_chunk_elts * elt_bytes) % EIGEN_MAX_ALIGN_BYTES)) in AlignedChunkElts() 83 << " EIGEN_MAX_ALIGN_BYTES=" << EIGEN_MAX_ALIGN_BYTES in AlignedChunkElts()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ops_util_test.cc | 320 #if EIGEN_MAX_ALIGN_BYTES == 0 in TEST_F() 328 Tensor t(DT_FLOAT, TensorShape({EIGEN_MAX_ALIGN_BYTES * 2})); in TEST_F() 330 int64_t end = EIGEN_MAX_ALIGN_BYTES; in TEST_F() 340 #if EIGEN_MAX_ALIGN_BYTES > 0 342 Tensor t(DT_FLOAT, TensorShape({EIGEN_MAX_ALIGN_BYTES * 2})); in TEST_F() 344 int64_t end = EIGEN_MAX_ALIGN_BYTES + 1; in TEST_F() 355 #if EIGEN_MAX_ALIGN_BYTES == 0 in TEST_F() 365 int64_t inner_dim_size = EIGEN_MAX_ALIGN_BYTES; in TEST_F() 378 #if EIGEN_MAX_ALIGN_BYTES > 0 381 int64_t inner_dim_size = EIGEN_MAX_ALIGN_BYTES + 1; in TEST_F()
|
D | while_op_test.cc | 123 #if EIGEN_MAX_ALIGN_BYTES == 0 in TEST_F() 126 return tensorflow::port::AlignedMalloc(size, EIGEN_MAX_ALIGN_BYTES); in TEST_F() 136 #if EIGEN_MAX_ALIGN_BYTES == 0 in TEST_F() 139 mem->opaque = tensorflow::port::AlignedMalloc(size, EIGEN_MAX_ALIGN_BYTES); in TEST_F()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | buffer_map_util.cc | 39 if (EIGEN_MAX_ALIGN_BYTES != 0 && in ShouldReuseTensorMemory() 40 reinterpret_cast<intptr_t>(tensor->data.raw) % EIGEN_MAX_ALIGN_BYTES) { in ShouldReuseTensorMemory() 76 return tensorflow::cpu_allocator()->AllocateRaw(EIGEN_MAX_ALIGN_BYTES, in MaybeAllocateTensorflowBuffer()
|
/external/eigen/test/ |
D | dynalloc.cpp | 12 #if EIGEN_MAX_ALIGN_BYTES>0 13 #define ALIGNMENT EIGEN_MAX_ALIGN_BYTES 110 #if EIGEN_MAX_ALIGN_BYTES>0 && (!EIGEN_HAS_CXX17_OVERALIGN) in check_custom_new_delete()
|
D | mapped_matrix.cpp | 27 …Scalar* array3unaligned = (internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES) == 0 ? array3+1 : arra… in map_class_vector() 67 …Scalar* array3unaligned = (internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES) == 0 ? array3+1 : arra… in map_class_matrix() 130 …Scalar* array3unaligned = internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES == 0 ? array3+1 : array3; in map_static_methods()
|
D | mapstride.cpp | 71 …= (Scalar*)(((internal::UIntPtr(a_array2)+EIGEN_MAX_ALIGN_BYTES-1)/EIGEN_MAX_ALIGN_BYTES)*EIGEN_MA… in map_class_matrix()
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/python_binding/ |
D | tf_jitrt_executor.cc | 83 copts.alignment = EIGEN_MAX_ALIGN_BYTES; in Compile() 152 #if EIGEN_MAX_ALIGN_BYTES == 0 in IsAligned() 155 return reinterpret_cast<intptr_t>(ptr) % EIGEN_MAX_ALIGN_BYTES == 0; in IsAligned()
|
/external/eigen/doc/ |
D | PreprocessorDirectives.dox | 104 …- \b \c EIGEN_MAX_ALIGN_BYTES - Must be a power of two, or 0. Defines an upper bound on the memory… 105 …EIGEN_MAX_ALIGN_BYTES=16. In the other way round, since by default AVX implies 32 bytes alignment … 106 …EIGEN_MAX_ALIGN_BYTES but for statically allocated data only. By default, if only \c EIGEN_MAX_AL… 134 …- \c EIGEN_DONT_ALIGN - Deprecated, it is a synonym for \c EIGEN_MAX_ALIGN_BYTES=0. It disables al…
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/tests/jit/ |
D | tf_jitrt_benchmark_test.cc | 73 copts.alignment = EIGEN_MAX_ALIGN_BYTES; in BM_InstantiateExecutable()
|
/external/tensorflow/tensorflow/core/runtime_fallback/util/ |
D | tensor_util_test.cc | 48 host_context->AllocateBytes(size, /*alignment=*/EIGEN_MAX_ALIGN_BYTES); in TEST()
|
/external/tensorflow/third_party/eigen3/ |
D | eigen_archive.BUILD | 52 "EIGEN_MAX_ALIGN_BYTES=64",
|
/external/tensorflow/tensorflow/c/ |
D | tf_tensor.cc | 40 void* data = allocator->AllocateRaw(EIGEN_MAX_ALIGN_BYTES, len); in allocate_tensor() 108 reinterpret_cast<intptr_t>(data) % std::max(1, EIGEN_MAX_ALIGN_BYTES) != in TF_NewTensor()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorDeviceSycl.h | 164 #if EIGEN_MAX_ALIGN_BYTES > 0 in allocate() 165 size_t align = num_bytes % EIGEN_MAX_ALIGN_BYTES; in allocate() 167 num_bytes += EIGEN_MAX_ALIGN_BYTES - align; in allocate() 175 #if EIGEN_MAX_ALIGN_BYTES > 0 in allocate_temp() 176 size_t align = num_bytes % EIGEN_MAX_ALIGN_BYTES; in allocate_temp() 178 num_bytes += EIGEN_MAX_ALIGN_BYTES - align; in allocate_temp()
|
D | TensorTraits.h | 32 #if EIGEN_MAX_ALIGN_BYTES>0
|
/external/eigen/Eigen/src/Core/ |
D | GeneralProduct.h | 188 …<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize)+(ForceAlignment?EIGEN_MAX_ALIGN_BYTES:0),0> m_da… 191 …>((internal::UIntPtr(m_data.array) & ~(std::size_t(EIGEN_MAX_ALIGN_BYTES-1))) + EIGEN_MAX_ALIGN_BY…
|
D | MapBase.h | 194 #if EIGEN_MAX_ALIGN_BYTES>0 in EIGEN_DEFAULT_COPY_CONSTRUCTOR()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | eigen_support.cc | 45 kDefaultTensorAlignment % EIGEN_MAX_ALIGN_BYTES == 0,
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/benchmarks/ |
D | benchmark.cc | 61 copts.alignment = EIGEN_MAX_ALIGN_BYTES; in CreateJitExecutable()
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/ |
D | tf_cpurt_kernels.cc | 159 opts.alignment = EIGEN_MAX_ALIGN_BYTES; // Eigen included by tensor.h in CompileImpl()
|