Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/aten/src/ATen/
H A DMapAllocator.cpp32 static constexpr int64_t map_alloc_alignment = 64; variable
469 , MapAllocator(filename, flags, size + map_alloc_alignment) { in RefcountedMapAllocator()
475 , MapAllocator(WITH_FD, filename, flags, fd, size + map_alloc_alignment) { in RefcountedMapAllocator()
553 MapAllocator(filename, flags, size + map_alloc_alignment) in RefcountedMapAllocator()
560 MapAllocator(WITH_FD, filename, flags, fd, size + map_alloc_alignment) in RefcountedMapAllocator()
601 if (actual_size_out) *actual_size_out = context->size() - map_alloc_alignment; in makeDataPtr()
607 if (actual_size_out) *actual_size_out = context->size() - map_alloc_alignment; in makeDataPtr()
612 return static_cast<void*>(static_cast<char*>(base_ptr_) + map_alloc_alignment); in data()