Home
last modified time | relevance | path

Searched refs:adjusted_alignment (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/lib/core/
Darena.cc157 uint32 adjusted_alignment = in AllocNewBlock() local
160 adjusted_alignment = in AllocNewBlock()
161 std::max(adjusted_alignment, static_cast<uint32>(sizeof(void*))); in AllocNewBlock()
163 CHECK_LE(adjusted_alignment, static_cast<uint32>(1 << 20)) in AllocNewBlock()
169 if (adjusted_block_size > adjusted_alignment) { in AllocNewBlock()
170 const uint32 excess = adjusted_block_size % adjusted_alignment; in AllocNewBlock()
171 adjusted_block_size += (excess > 0 ? adjusted_alignment - excess : 0); in AllocNewBlock()
174 port::AlignedMalloc(adjusted_block_size, adjusted_alignment)); in AllocNewBlock()
179 << " adjusted_alignment=" << adjusted_alignment; in AllocNewBlock()