Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc426 static constexpr size_t kItemAlignment = sizeof(NodeItem*); in NodeItemBytes() local
427 static_assert(kItemAlignment % alignof(NodeItem) == 0, in NodeItemBytes()
429 static_assert(kItemAlignment % alignof(EdgeInfo) == 0, in NodeItemBytes()
431 static_assert(kItemAlignment % alignof(AllocatorAttributes) == 0, in NodeItemBytes()
440 ((raw_bytes + kItemAlignment - 1) / kItemAlignment) * kItemAlignment; in NodeItemBytes()
449 constexpr size_t kItemAlignment = sizeof(NodeItem*); in InitializeNode() local
450 CHECK_EQ(reinterpret_cast<uintptr_t>(ptr) % kItemAlignment, 0); in InitializeNode()