Changeset View
Changeset View
Standalone View
Standalone View
runtime/src/include/50/omp.h.var
Show All 19 Lines | |||||
# define KMP_VERSION_MINOR @LIBOMP_VERSION_MINOR@ | # define KMP_VERSION_MINOR @LIBOMP_VERSION_MINOR@ | ||||
# define KMP_VERSION_BUILD @LIBOMP_VERSION_BUILD@ | # define KMP_VERSION_BUILD @LIBOMP_VERSION_BUILD@ | ||||
# define KMP_BUILD_DATE "@LIBOMP_BUILD_DATE@" | # define KMP_BUILD_DATE "@LIBOMP_BUILD_DATE@" | ||||
# ifdef __cplusplus | # ifdef __cplusplus | ||||
extern "C" { | extern "C" { | ||||
# endif | # endif | ||||
# define omp_set_affinity_format ompc_set_affinity_format | |||||
# define omp_get_affinity_format ompc_get_affinity_format | |||||
# define omp_display_affinity ompc_display_affinity | |||||
# define omp_capture_affinity ompc_capture_affinity | |||||
# if defined(_WIN32) | # if defined(_WIN32) | ||||
# define __KAI_KMPC_CONVENTION __cdecl | # define __KAI_KMPC_CONVENTION __cdecl | ||||
# ifndef __KMP_IMP | # ifndef __KMP_IMP | ||||
# define __KMP_IMP __declspec(dllimport) | # define __KMP_IMP __declspec(dllimport) | ||||
# endif | # endif | ||||
# else | # else | ||||
# define __KAI_KMPC_CONVENTION | # define __KAI_KMPC_CONVENTION | ||||
# ifndef __KMP_IMP | # ifndef __KMP_IMP | ||||
▲ Show 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | |||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, const omp_allocator_t *allocator = OMP_NULL_ALLOCATOR); | extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, const omp_allocator_t *allocator = OMP_NULL_ALLOCATOR); | ||||
extern void __KAI_KMPC_CONVENTION omp_free(void * ptr, const omp_allocator_t *allocator = OMP_NULL_ALLOCATOR); | extern void __KAI_KMPC_CONVENTION omp_free(void * ptr, const omp_allocator_t *allocator = OMP_NULL_ALLOCATOR); | ||||
#else | #else | ||||
extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, const omp_allocator_t *allocator); | extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, const omp_allocator_t *allocator); | ||||
extern void __KAI_KMPC_CONVENTION omp_free(void *ptr, const omp_allocator_t *allocator); | extern void __KAI_KMPC_CONVENTION omp_free(void *ptr, const omp_allocator_t *allocator); | ||||
#endif | #endif | ||||
/* OpenMP 5.0 Affinity Format */ | |||||
extern void __KAI_KMPC_CONVENTION omp_set_affinity_format(char const *); | |||||
extern size_t __KAI_KMPC_CONVENTION omp_get_affinity_format(char *, size_t); | |||||
extern void __KAI_KMPC_CONVENTION omp_display_affinity(char const *); | |||||
extern size_t __KAI_KMPC_CONVENTION omp_capture_affinity(char *, size_t, char const *); | |||||
# undef __KAI_KMPC_CONVENTION | # undef __KAI_KMPC_CONVENTION | ||||
# undef __KMP_IMP | # undef __KMP_IMP | ||||
/* Warning: | /* Warning: | ||||
The following typedefs are not standard, deprecated and will be removed in a future release. | The following typedefs are not standard, deprecated and will be removed in a future release. | ||||
*/ | */ | ||||
typedef int omp_int_t; | typedef int omp_int_t; | ||||
typedef double omp_wtime_t; | typedef double omp_wtime_t; | ||||
# ifdef __cplusplus | # ifdef __cplusplus | ||||
} | } | ||||
# endif | # endif | ||||
#endif /* __OMP_H */ | #endif /* __OMP_H */ | ||||