[Openmp-commits] [PATCH] D19814: Adding new kmp_aligned_malloc() entry point.
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Mon May 2 10:15:17 PDT 2016
jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.
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.
Repository:
rL LLVM
http://reviews.llvm.org/D19814
Files:
runtime/src/dllexports
runtime/src/include/30/omp.h.var
runtime/src/include/30/omp_lib.f.var
runtime/src/include/30/omp_lib.f90.var
runtime/src/include/30/omp_lib.h.var
runtime/src/include/40/omp.h.var
runtime/src/include/40/omp_lib.f.var
runtime/src/include/40/omp_lib.f90.var
runtime/src/include/40/omp_lib.h.var
runtime/src/include/41/omp.h.var
runtime/src/include/41/omp_lib.f.var
runtime/src/include/41/omp_lib.f90.var
runtime/src/include/41/omp_lib.h.var
runtime/src/kmp.h
runtime/src/kmp_alloc.c
runtime/src/kmp_ftn_entry.h
runtime/src/kmp_ftn_os.h
runtime/src/kmp_stub.c
runtime/test/api/kmp_aligned_malloc.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19814.55837.patch
Type: text/x-patch
Size: 27140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160502/31bab6bf/attachment-0001.bin>
More information about the Openmp-commits
mailing list