Page MenuHomePhabricator

Adding new kmp_aligned_malloc() entry point.
ClosedPublic

Authored by jlpeyton on May 2 2016, 10:15 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 55837.May 2 2016, 10:15 AM
jlpeyton retitled this revision from to Adding new kmp_aligned_malloc() entry point..
jlpeyton updated this object.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
AndreyChurbanov accepted this revision.May 12 2016, 3:04 AM
AndreyChurbanov edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 12 2016, 3:04 AM
This revision was automatically updated to reflect the committed changes.