Skip to content

Commit b051bbb

Browse files
committed
Update libomp generated headers.
1 parent 98d0e7c commit b051bbb

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

lib/libomp/kmp_config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@
152152
# define CACHE_LINE 128
153153
#elif KMP_ARCH_AARCH64_A64FX
154154
# define CACHE_LINE 256
155+
#elif KMP_ARCH_S390X
156+
# define CACHE_LINE 256
155157
#else
156158
# define CACHE_LINE 64
157159
#endif

lib/libomp/kmp_i18n_default.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Do not edit this file! //
2-
// The file was generated from en_US.txt by message-converter.pl on Sun Sep 3 00:38:26 2023. //
2+
// The file was generated from en_US.txt by message-converter.pl on Sun Dec 17 22:59:54 2023. //
33

44
static char const *
55
__kmp_i18n_default_meta[] =
@@ -415,6 +415,8 @@ __kmp_i18n_default_messages[] =
415415
"KMP_HW_SUBSET ignored: Too many attributes specified. This machine is not a hybrid architecutre.",
416416
"KMP_HW_SUBSET: ignoring %1$s attribute. This machine is not a hybrid architecutre.",
417417
"Target memory not available, will use default allocator.",
418+
"%1$s ignored: This machine is not a hybrid architecutre. Using \"%2$s\" instead.",
419+
"%1$s ignored: %2$s is not available. Using \"%3$s\" instead.",
418420
NULL
419421
};
420422

@@ -467,7 +469,7 @@ __kmp_i18n_sections[] =
467469
{ 5, __kmp_i18n_default_meta },
468470
{ 79, __kmp_i18n_default_strings },
469471
{ 6, __kmp_i18n_default_formats },
470-
{ 299, __kmp_i18n_default_messages },
472+
{ 301, __kmp_i18n_default_messages },
471473
{ 29, __kmp_i18n_default_hints },
472474
{ 0, NULL }
473475
};

lib/libomp/kmp_i18n_id.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Do not edit this file! //
2-
// The file was generated from en_US.txt by message-converter.pl on Sun Sep 3 00:38:26 2023. //
2+
// The file was generated from en_US.txt by message-converter.pl on Sun Dec 17 22:59:54 2023. //
33

44
enum kmp_i18n_id {
55

@@ -409,6 +409,8 @@ enum kmp_i18n_id {
409409
kmp_i18n_msg_AffHWSubsetAttrsNonHybrid,
410410
kmp_i18n_msg_AffHWSubsetIgnoringAttr,
411411
kmp_i18n_msg_TargetMemNotAvailable,
412+
kmp_i18n_msg_AffIgnoringNonHybrid,
413+
kmp_i18n_msg_AffIgnoringNotAvailable,
412414
kmp_i18n_msg_last,
413415

414416
// Set #5, hints.

lib/libomp/omp.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef __OMP_H
1616
# define __OMP_H
1717

18+
# include <stddef.h>
1819
# include <stdlib.h>
1920
# include <stdint.h>
2021

@@ -236,6 +237,11 @@
236237
extern int __KAI_KMPC_CONVENTION omp_target_memcpy_rect_async(void *, const void *, size_t, int, const size_t *,
237238
const size_t *, const size_t *, const size_t *, const size_t *, int, int,
238239
int, omp_depend_t *);
240+
241+
/* OpenMP 6.0 device memory routines */
242+
extern void * __KAI_KMPC_CONVENTION omp_target_memset(void *, int, size_t, int);
243+
extern void * __KAI_KMPC_CONVENTION omp_target_memset_async(void *, int, size_t, int, int, omp_depend_t *);
244+
239245
/*!
240246
* The `omp_get_mapped_ptr` routine returns the device pointer that is associated with a host pointer for a given device.
241247
*/
@@ -497,7 +503,7 @@
497503
extern int __KAI_KMPC_CONVENTION omp_in_explicit_task(void);
498504

499505
/* LLVM Extensions */
500-
extern void *llvm_omp_target_dynamic_shared_alloc();
506+
extern void *llvm_omp_target_dynamic_shared_alloc(void);
501507

502508
# undef __KAI_KMPC_CONVENTION
503509
# undef __KMP_IMP

0 commit comments

Comments
 (0)