LLVM OpenMP 20.0.0git
|
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include "omp.h"
#include "kmp.h"
#include "kmp_stub.h"
#include <sys/time.h>
Go to the source code of this file.
Variables | |
static int | __kmps_blocktime = INT_MAX |
static int | __kmps_dynamic = 0 |
static int | __kmps_library = 1000 |
static int | __kmps_nested = 0 |
static size_t | __kmps_stacksize = KMP_DEFAULT_STKSIZE |
static kmp_sched_t | __kmps_sched_kind = kmp_sched_default |
static int | __kmps_sched_modifier = 0 |
#define __KMP_IMP |
Definition at line 17 of file kmp_stub.cpp.
#define i __kmps_init(); |
Definition at line 87 of file kmp_stub.cpp.
#define kmp_aligned_malloc kmpc_aligned_malloc |
Definition at line 48 of file kmp_stub.cpp.
#define kmp_calloc kmpc_calloc |
Definition at line 49 of file kmp_stub.cpp.
#define kmp_free kmpc_free |
Definition at line 51 of file kmp_stub.cpp.
#define kmp_malloc kmpc_malloc |
Definition at line 47 of file kmp_stub.cpp.
#define kmp_realloc kmpc_realloc |
Definition at line 50 of file kmp_stub.cpp.
#define kmp_set_blocktime kmpc_set_blocktime |
Definition at line 43 of file kmp_stub.cpp.
#define kmp_set_defaults kmpc_set_defaults |
Definition at line 45 of file kmp_stub.cpp.
#define kmp_set_disp_num_buffers kmpc_set_disp_num_buffers |
Definition at line 46 of file kmp_stub.cpp.
#define kmp_set_library kmpc_set_library |
Definition at line 44 of file kmp_stub.cpp.
#define kmp_set_stacksize kmpc_set_stacksize |
Definition at line 41 of file kmp_stub.cpp.
#define kmp_set_stacksize_s kmpc_set_stacksize_s |
Definition at line 42 of file kmp_stub.cpp.
#define omp_capture_affinity ompc_capture_affinity |
Definition at line 40 of file kmp_stub.cpp.
#define omp_display_affinity ompc_display_affinity |
Definition at line 39 of file kmp_stub.cpp.
#define omp_get_affinity_format ompc_get_affinity_format |
Definition at line 38 of file kmp_stub.cpp.
#define omp_get_ancestor_thread_num ompc_get_ancestor_thread_num |
Definition at line 31 of file kmp_stub.cpp.
#define omp_get_team_size ompc_get_team_size |
Definition at line 32 of file kmp_stub.cpp.
#define omp_set_affinity_format ompc_set_affinity_format |
Definition at line 37 of file kmp_stub.cpp.
#define omp_set_dynamic ompc_set_dynamic |
Definition at line 35 of file kmp_stub.cpp.
#define omp_set_max_active_levels ompc_set_max_active_levels |
Definition at line 29 of file kmp_stub.cpp.
#define omp_set_nested ompc_set_nested |
Definition at line 36 of file kmp_stub.cpp.
#define omp_set_num_threads ompc_set_num_threads |
Definition at line 34 of file kmp_stub.cpp.
#define omp_set_schedule ompc_set_schedule |
Definition at line 30 of file kmp_stub.cpp.
Definition at line 210 of file kmp_stub.cpp.
References __kmps_blocktime, and i.
Referenced by FTN_GET_BLOCKTIME().
Definition at line 222 of file kmp_stub.cpp.
References __kmps_dynamic, and i.
Referenced by FTN_GET_DYNAMIC().
Definition at line 234 of file kmp_stub.cpp.
References __kmps_library, and i.
Referenced by FTN_GET_LIBRARY().
Definition at line 246 of file kmp_stub.cpp.
References __kmps_nested, and i.
Referenced by FTN_GET_NESTED().
kmp_proc_bind_t __kmps_get_proc_bind | ( | void | ) |
Definition at line 278 of file kmp_stub.cpp.
References i, and proc_bind_false.
Referenced by FTN_GET_PROC_BIND().
void __kmps_get_schedule | ( | kmp_sched_t * | kind, |
int * | modifier | ||
) |
Definition at line 272 of file kmp_stub.cpp.
References __kmps_sched_kind, __kmps_sched_modifier, and i.
Referenced by FTN_GET_SCHEDULE().
size_t __kmps_get_stacksize | ( | void | ) |
Definition at line 258 of file kmp_stub.cpp.
References __kmps_stacksize, and i.
Referenced by FTN_GET_STACKSIZE(), and FTN_GET_STACKSIZE_S().
Definition at line 309 of file kmp_stub.cpp.
Referenced by FTN_GET_WTICK().
Definition at line 283 of file kmp_stub.cpp.
References double, i, and status.
Referenced by FTN_GET_WTIME().
|
static |
Definition at line 58 of file kmp_stub.cpp.
References __kmp_version_build_time, __kmp_version_copyright, double, initialized, and status.
Definition at line 205 of file kmp_stub.cpp.
References __kmps_blocktime, and i.
Referenced by FTN_SET_BLOCKTIME(), and kmp_set_blocktime().
Definition at line 217 of file kmp_stub.cpp.
References __kmps_dynamic, and i.
Referenced by FTN_SET_DYNAMIC(), and omp_set_dynamic().
Definition at line 229 of file kmp_stub.cpp.
References __kmps_library, and i.
Referenced by FTN_SET_LIBRARY(), FTN_SET_LIBRARY_SERIAL(), FTN_SET_LIBRARY_THROUGHPUT(), FTN_SET_LIBRARY_TURNAROUND(), and kmp_set_library().
Definition at line 241 of file kmp_stub.cpp.
References __kmps_nested, and i.
Referenced by FTN_SET_NESTED(), and omp_set_nested().
void __kmps_set_schedule | ( | kmp_sched_t | kind, |
int | modifier | ||
) |
Definition at line 266 of file kmp_stub.cpp.
References __kmps_sched_kind, __kmps_sched_modifier, and i.
Referenced by FTN_SET_SCHEDULE(), and omp_set_schedule().
void __kmps_set_stacksize | ( | size_t | arg | ) |
Definition at line 253 of file kmp_stub.cpp.
References __kmps_stacksize, and i.
Referenced by FTN_SET_STACKSIZE(), FTN_SET_STACKSIZE_S(), kmp_set_stacksize(), and kmp_set_stacksize_s().
void * kmp_aligned_malloc | ( | size_t | sz, |
size_t | a | ||
) |
void * kmp_calloc | ( | size_t | nelem, |
size_t | elsize | ||
) |
Definition at line 174 of file kmp_stub.cpp.
Definition at line 194 of file kmp_stub.cpp.
References i.
void * kmp_malloc | ( | size_t | size | ) |
Definition at line 146 of file kmp_stub.cpp.
Definition at line 184 of file kmp_stub.cpp.
void kmp_set_blocktime | ( | omp_int_t | arg | ) |
Definition at line 134 of file kmp_stub.cpp.
References __kmps_set_blocktime(), and i.
Definition at line 142 of file kmp_stub.cpp.
References i.
void kmp_set_disp_num_buffers | ( | omp_int_t | arg | ) |
Definition at line 143 of file kmp_stub.cpp.
References i.
void kmp_set_library | ( | omp_int_t | arg | ) |
Definition at line 138 of file kmp_stub.cpp.
References __kmps_set_library(), and i.
void kmp_set_stacksize | ( | omp_int_t | arg | ) |
Definition at line 126 of file kmp_stub.cpp.
References __kmps_set_stacksize(), and i.
void kmp_set_stacksize_s | ( | size_t | arg | ) |
Definition at line 130 of file kmp_stub.cpp.
References __kmps_set_stacksize(), and i.
Definition at line 120 of file kmp_stub.cpp.
References __kmp_assign_root_init_mask, __kmp_init_middle, __kmp_middle_initialize(), i, mask, and TCR_4.
Definition at line 112 of file kmp_stub.cpp.
References __kmp_assign_root_init_mask, __kmp_init_middle, __kmp_middle_initialize(), i, mask, and TCR_4.
Definition at line 116 of file kmp_stub.cpp.
References __kmp_assign_root_init_mask, __kmp_init_middle, __kmp_middle_initialize(), i, mask, and TCR_4.
void * omp_aligned_alloc | ( | size_t | a, |
size_t | size, | ||
omp_allocator_handle_t | al | ||
) |
void * omp_aligned_calloc | ( | size_t | a, |
size_t | nmemb, | ||
size_t | size, | ||
omp_allocator_handle_t | al | ||
) |
void * omp_alloc | ( | size_t | size, |
omp_allocator_handle_t | allocator | ||
) |
Definition at line 378 of file kmp_stub.cpp.
void * omp_calloc | ( | size_t | nmemb, |
size_t | size, | ||
omp_allocator_handle_t | al | ||
) |
Definition at line 407 of file kmp_stub.cpp.
Definition at line 463 of file kmp_stub.cpp.
References i.
Definition at line 462 of file kmp_stub.cpp.
References i.
void omp_free | ( | void * | ptr, |
omp_allocator_handle_t | allocator | ||
) |
Definition at line 447 of file kmp_stub.cpp.
References i.
size_t omp_get_affinity_format | ( | char * | buffer, |
size_t | size | ||
) |
Definition at line 458 of file kmp_stub.cpp.
References i.
int omp_get_ancestor_thread_num | ( | omp_int_t | level | ) |
Definition at line 104 of file kmp_stub.cpp.
int omp_get_team_size | ( | omp_int_t | level | ) |
Definition at line 108 of file kmp_stub.cpp.
void * omp_realloc | ( | void * | ptr, |
size_t | size, | ||
omp_allocator_handle_t | al, | ||
omp_allocator_handle_t | free_al | ||
) |
Definition at line 435 of file kmp_stub.cpp.
Definition at line 457 of file kmp_stub.cpp.
References i.
void omp_set_dynamic | ( | omp_int_t | dynamic | ) |
Definition at line 91 of file kmp_stub.cpp.
References __kmps_set_dynamic(), and i.
void omp_set_max_active_levels | ( | omp_int_t | max_active_levels | ) |
Definition at line 99 of file kmp_stub.cpp.
References i.
void omp_set_nested | ( | omp_int_t | nested | ) |
Definition at line 95 of file kmp_stub.cpp.
References __kmps_set_nested(), and i.
void omp_set_num_threads | ( | omp_int_t | num_threads | ) |
Definition at line 90 of file kmp_stub.cpp.
References i.
void omp_set_schedule | ( | omp_sched_t | kind, |
omp_int_t | modifier | ||
) |
Definition at line 100 of file kmp_stub.cpp.
References __kmps_set_schedule(), and i.
|
static |
Definition at line 203 of file kmp_stub.cpp.
Referenced by __kmps_get_blocktime(), and __kmps_set_blocktime().
|
static |
Definition at line 215 of file kmp_stub.cpp.
Referenced by __kmps_get_dynamic(), and __kmps_set_dynamic().
|
static |
Definition at line 227 of file kmp_stub.cpp.
Referenced by __kmps_get_library(), and __kmps_set_library().
|
static |
Definition at line 239 of file kmp_stub.cpp.
Referenced by __kmps_get_nested(), and __kmps_set_nested().
|
static |
Definition at line 263 of file kmp_stub.cpp.
Referenced by __kmps_get_schedule(), and __kmps_set_schedule().
|
static |
Definition at line 264 of file kmp_stub.cpp.
Referenced by __kmps_get_schedule(), and __kmps_set_schedule().
|
static |
Definition at line 251 of file kmp_stub.cpp.
Referenced by __kmps_get_stacksize(), and __kmps_set_stacksize().