Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_allocator.cc42 const uintptr_t aligned_ptr_val = ((ptr_val + alignment - 1) & -alignment); in Align() local
43 if (aligned_ptr_val > ptr_val + space - size) return nullptr; in Align()
44 ptr = reinterpret_cast<void*>(aligned_ptr_val); in Align()
45 const uintptr_t diff = aligned_ptr_val - ptr_val; in Align()