summaryrefslogtreecommitdiff
path: root/openmp/runtime/test/api/kmp_aligned_malloc.c
AgeCommit message (Collapse)Author
2016-05-12Adding new kmp_aligned_malloc() entry pointJonathan Peyton
This change adds a new entry point, kmp_aligned_malloc(size_t size, size_t alignment), an entry point corresponding to kmp_malloc() but with the capability to return aligned memory as well. Other allocator routines have been adjusted so that kmp_free() can be used for freeing memory blocks allocated by any kmp_*alloc() routine, including the new kmp_aligned_malloc() routine. Differential Revision: http://reviews.llvm.org/D19814 llvm-svn: 269365