Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_view.cc102 static constexpr size_t kItemAlignment = sizeof(NodeItem*); in NodeItemBytes() local
103 static_assert(kItemAlignment % alignof(NodeItem) == 0, in NodeItemBytes()
105 static_assert(kItemAlignment % alignof(EdgeInfo) == 0, in NodeItemBytes()
107 static_assert(kItemAlignment % alignof(ControlEdgeInfo) == 0, in NodeItemBytes()
109 static_assert(kItemAlignment % alignof(AllocatorAttributes) == 0, in NodeItemBytes()
118 ((raw_bytes + kItemAlignment - 1) / kItemAlignment) * kItemAlignment; in NodeItemBytes()
127 constexpr size_t kItemAlignment = sizeof(NodeItem*); in InitializeNode() local
128 CHECK_EQ(reinterpret_cast<uintptr_t>(ptr) % kItemAlignment, 0); in InitializeNode()