29#define omp_set_max_active_levels ompc_set_max_active_levels
30#define omp_set_schedule ompc_set_schedule
31#define omp_get_ancestor_thread_num ompc_get_ancestor_thread_num
32#define omp_get_team_size ompc_get_team_size
34#define omp_set_num_threads ompc_set_num_threads
35#define omp_set_dynamic ompc_set_dynamic
36#define omp_set_nested ompc_set_nested
37#define omp_set_affinity_format ompc_set_affinity_format
38#define omp_get_affinity_format ompc_get_affinity_format
39#define omp_display_affinity ompc_display_affinity
40#define omp_capture_affinity ompc_capture_affinity
41#define kmp_set_stacksize kmpc_set_stacksize
42#define kmp_set_stacksize_s kmpc_set_stacksize_s
43#define kmp_set_blocktime kmpc_set_blocktime
44#define kmp_set_library kmpc_set_library
45#define kmp_set_defaults kmpc_set_defaults
46#define kmp_set_disp_num_buffers kmpc_set_disp_num_buffers
47#define kmp_malloc kmpc_malloc
48#define kmp_aligned_malloc kmpc_aligned_malloc
49#define kmp_calloc kmpc_calloc
50#define kmp_realloc kmpc_realloc
51#define kmp_free kmpc_free
54static double frequency = 0.0;
60 static size_t dummy = 0;
76 BOOL
status = QueryPerformanceFrequency(&freq);
78 frequency =
double(freq.QuadPart);
87#define i __kmps_init();
106 return (
level) ? (-1) : (0);
110 return (
level) ? (-1) : (1);
154 res = _aligned_malloc(
size, 1);
164 res = _aligned_malloc(sz,
a);
167 if ((
err = posix_memalign(&
res,
a, sz))) {
178 res = _aligned_recalloc(NULL, nelem, elsize, 1);
180 res = calloc(nelem, elsize);
188 res = _aligned_realloc(ptr,
size, 1);
288 if (frequency > 0.0) {
290 BOOL
status = QueryPerformanceCounter(&now);
292 wtime =
double(now.QuadPart) / frequency;
299 rc = gettimeofday(&tval, NULL);
301 wtime = (
double)(tval.tv_sec) + 1.0E-06 * (
double)(tval.tv_usec);
319 rc = GetSystemTimeAdjustment(&adjustment, &increment, &disabled);
321 wtick = 1.0E-07 * (
double)(disabled ? increment : adjustment);
385 res = _aligned_malloc(
size, 1);
411 res = _aligned_recalloc(NULL, nmemb,
size, 1);
423 res = _aligned_recalloc(NULL, nmemb,
size,
a);
426 if ((
err = posix_memalign(&
res,
a, nmemb *
size))) {
440 res = _aligned_realloc(ptr,
size, 1);
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int mask
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int initialized
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t size
omp_memspace_handle_t const omp_default_mem_space
void * omp_memspace_handle_t
void * omp_allocator_handle_t
omp_allocator_handle_t const omp_cgroup_mem_alloc
omp_memspace_handle_t const llvm_omp_target_host_mem_space
omp_memspace_handle_t const omp_low_lat_mem_space
omp_allocator_handle_t const omp_default_mem_alloc
omp_allocator_handle_t const omp_large_cap_mem_alloc
omp_allocator_handle_t const omp_low_lat_mem_alloc
#define KMP_DEFAULT_STKSIZE
omp_allocator_handle_t const omp_high_bw_mem_alloc
omp_memspace_handle_t const omp_const_mem_space
omp_memspace_handle_t const omp_large_cap_mem_space
omp_memspace_handle_t const llvm_omp_target_shared_mem_space
omp_memspace_handle_t const omp_high_bw_mem_space
omp_allocator_handle_t const omp_const_mem_alloc
omp_allocator_handle_t const omp_pteam_mem_alloc
omp_allocator_handle_t const llvm_omp_target_host_mem_alloc
enum kmp_sched kmp_sched_t
omp_allocator_handle_t const omp_thread_mem_alloc
omp_allocator_handle_t const llvm_omp_target_shared_mem_alloc
omp_memspace_handle_t const llvm_omp_target_device_mem_space
omp_allocator_handle_t const llvm_omp_target_device_mem_alloc
omp_allocator_handle_t const omp_null_allocator
KMP_ARCH_X86 KMP_ARCH_X86 long double
static volatile kmp_i18n_cat_status_t status
static int __kmps_sched_modifier
#define kmp_set_disp_num_buffers
void __kmps_set_library(int arg)
static int __kmps_blocktime
#define omp_set_max_active_levels
void * omp_realloc(void *ptr, size_t size, omp_allocator_handle_t al, omp_allocator_handle_t free_al)
double __kmps_get_wtime(void)
#define omp_set_num_threads
int kmpc_unset_affinity_mask_proc(int proc, void **mask)
void __kmps_set_nested(int arg)
int __kmps_get_blocktime(void)
void __kmps_set_schedule(kmp_sched_t kind, int modifier)
int __kmps_get_dynamic(void)
int __kmps_get_nested(void)
#define omp_get_affinity_format
void * omp_calloc(size_t nmemb, size_t size, omp_allocator_handle_t al)
void * omp_aligned_alloc(size_t a, size_t size, omp_allocator_handle_t al)
static size_t __kmps_stacksize
void __kmps_set_blocktime(int arg)
int kmpc_set_affinity_mask_proc(int proc, void **mask)
#define omp_get_team_size
#define omp_get_ancestor_thread_num
void __kmps_set_dynamic(int arg)
int __kmps_get_library(void)
static size_t __kmps_init()
#define kmp_set_blocktime
#define kmp_aligned_malloc
static int __kmps_dynamic
#define omp_set_affinity_format
#define omp_display_affinity
void omp_free(void *ptr, omp_allocator_handle_t allocator)
double __kmps_get_wtick(void)
void __kmps_set_stacksize(size_t arg)
int kmpc_get_affinity_mask_proc(int proc, void **mask)
#define kmp_set_stacksize
#define omp_capture_affinity
#define kmp_set_stacksize_s
static int __kmps_library
void * omp_aligned_calloc(size_t a, size_t nmemb, size_t size, omp_allocator_handle_t al)
void __kmps_get_schedule(kmp_sched_t *kind, int *modifier)
static kmp_sched_t __kmps_sched_kind
kmp_proc_bind_t __kmps_get_proc_bind(void)
void * omp_alloc(size_t size, omp_allocator_handle_t allocator)
size_t __kmps_get_stacksize(void)
char const __kmp_version_build_time[]
char const __kmp_version_copyright[]