diff options
Diffstat (limited to 'openmp/runtime/src/include/40/omp_lib.h.var')
-rw-r--r-- | openmp/runtime/src/include/40/omp_lib.h.var | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openmp/runtime/src/include/40/omp_lib.h.var b/openmp/runtime/src/include/40/omp_lib.h.var index cc134fd3527..1405ff5131b 100644 --- a/openmp/runtime/src/include/40/omp_lib.h.var +++ b/openmp/runtime/src/include/40/omp_lib.h.var @@ -393,6 +393,13 @@ integer (kind=kmp_size_t_kind), value :: size end function kmp_malloc + function kmp_aligned_malloc(size, alignment) bind(c) + import + integer (kind=kmp_pointer_kind) kmp_aligned_malloc + integer (kind=kmp_size_t_kind), value :: size + integer (kind=kmp_size_t_kind), value :: alignment + end function kmp_aligned_malloc + function kmp_calloc(nelem, elsize) bind(c) import integer (kind=kmp_pointer_kind) kmp_calloc @@ -481,6 +488,7 @@ !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_unset_affinity_mask_proc !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_affinity_mask_proc !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_malloc +!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_aligned_malloc !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_calloc !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_realloc !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_free @@ -548,6 +556,7 @@ !$omp declare target(kmp_unset_affinity_mask_proc ) !$omp declare target(kmp_get_affinity_mask_proc ) !$omp declare target(kmp_malloc ) +!$omp declare target(kmp_aligned_malloc ) !$omp declare target(kmp_calloc ) !$omp declare target(kmp_realloc ) !$omp declare target(kmp_free ) |