Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/
Dcpu_function_runtime.cc25 void* aligned_malloc(size_t size, int minimum_alignment) { in aligned_malloc() argument
27 return memalign(minimum_alignment, size); in aligned_malloc()
29 return _aligned_malloc(size, minimum_alignment); in aligned_malloc()
36 if (minimum_alignment < required_alignment) return malloc(size); in aligned_malloc()
37 if (posix_memalign(&ptr, minimum_alignment, size) != 0) in aligned_malloc()
/external/tensorflow/tensorflow/core/platform/posix/
Dport.cc211 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() argument
213 return memalign(minimum_alignment, size); in AlignedMalloc()
220 if (minimum_alignment < required_alignment) return Malloc(size); in AlignedMalloc()
221 int err = posix_memalign(&ptr, minimum_alignment, size); in AlignedMalloc()
238 void* NUMAMalloc(int node, size_t size, int minimum_alignment) { in NUMAMalloc() argument
251 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/tensorflow/tensorflow/core/platform/windows/
Dport.cc93 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() argument
94 return _aligned_malloc(size, minimum_alignment); in AlignedMalloc()
105 void* NUMAMalloc(int node, size_t size, int minimum_alignment) { in NUMAMalloc() argument
106 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/dynamic_depth/internal/base/
Dport.h775 inline void *aligned_malloc(size_t size, int minimum_alignment) { in aligned_malloc() argument
777 return memalign(minimum_alignment, size); in aligned_malloc()
784 if (minimum_alignment < required_alignment) return malloc(size); in aligned_malloc()
785 if (posix_memalign(&ptr, minimum_alignment, size) != 0) in aligned_malloc()
1001 inline void *aligned_malloc(size_t size, int minimum_alignment) {
1002 return _aligned_malloc(size, minimum_alignment);
/external/tensorflow/tensorflow/core/platform/
Dnuma.h52 void* NUMAMalloc(int node, size_t size, int minimum_alignment);
Dmem.h29 void* AlignedMalloc(size_t size, int minimum_alignment);