LLVM OpenMP 19.0.0git
Classes | Typedefs | Functions
common.h File Reference
#include <cassert>
#include <cstdint>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

struct  kmp_depend_info
 
union  kmp_cmplrdata
 
struct  kmp_task
 

Typedefs

using kmp_int32 = int32_t
 
using kmp_routine_entry_t = kmp_int32(*)(kmp_int32, void *)
 
using kmp_intptr_t = intptr_t
 
typedef struct kmp_depend_info kmp_depend_info_t
 
typedef union kmp_cmplrdata kmp_cmplrdata_t
 
typedef struct kmp_task kmp_task_t
 
using kmp_int64 = int64_t
 

Functions

int32_t __kmpc_global_thread_num (void *)
 
kmp_task_t__kmpc_omp_task_alloc (ident_t *, kmp_int32, kmp_int32, size_t, size_t, kmp_routine_entry_t)
 
kmp_task_t__kmpc_omp_target_task_alloc (ident_t *, kmp_int32, kmp_int32, size_t, size_t, kmp_routine_entry_t, kmp_int64)
 
kmp_int32 __kmpc_omp_taskwait (ident_t *, kmp_int32)
 
kmp_int32 __kmpc_omp_task (ident_t *, kmp_int32, kmp_task_t *)
 
kmp_int32 __kmpc_omp_task_with_deps (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task, kmp_int32 ndeps, kmp_depend_info_t *dep_list, kmp_int32 ndeps_noalias, kmp_depend_info_t *noalias_dep_list)
 
void __kmpc_taskgroup (ident_t *, kmp_int32)
 
void __kmpc_end_taskgroup (ident_t *, kmp_int32)
 
static kmp_int32 get_num_hidden_helper_threads ()
 

Typedef Documentation

◆ kmp_cmplrdata_t

◆ kmp_depend_info_t

◆ kmp_int32

using kmp_int32 = int32_t

Definition at line 9 of file common.h.

◆ kmp_int64

Definition at line 10 of file common.h.

◆ kmp_intptr_t

using kmp_intptr_t = intptr_t

Definition at line 12 of file common.h.

◆ kmp_routine_entry_t

Definition at line 11 of file common.h.

◆ kmp_task_t

typedef struct kmp_task kmp_task_t

Function Documentation

◆ __kmpc_end_taskgroup()

void __kmpc_end_taskgroup ( ident_t ,
kmp_int32   
)

◆ __kmpc_global_thread_num()

int32_t __kmpc_global_thread_num ( void )

◆ __kmpc_omp_target_task_alloc()

kmp_task_t * __kmpc_omp_target_task_alloc ( ident_t loc_ref,
kmp_int32  gtid,
kmp_int32  flags,
size_t  sizeof_kmp_task_t,
size_t  sizeof_shareds,
kmp_routine_entry_t  task_entry,
kmp_int64  device_id 
)

Definition at line 1705 of file kmp_tasking.cpp.

◆ __kmpc_omp_task()

kmp_int32 __kmpc_omp_task ( ident_t loc_ref,
kmp_int32  gtid,
kmp_task_t new_task 
)

Definition at line 2108 of file kmp_tasking.cpp.

◆ __kmpc_omp_task_alloc()

kmp_task_t * __kmpc_omp_task_alloc ( ident_t loc_ref,
kmp_int32  gtid,
kmp_int32  flags,
size_t  sizeof_kmp_task_t,
size_t  sizeof_shareds,
kmp_routine_entry_t  task_entry 
)

Definition at line 1681 of file kmp_tasking.cpp.

Referenced by __kmp_taskloop_recur(), and __kmpc_omp_target_task_alloc().

◆ __kmpc_omp_taskwait()

kmp_int32 __kmpc_omp_taskwait ( ident_t loc_ref,
kmp_int32  gtid 
)

Definition at line 2338 of file kmp_tasking.cpp.

◆ __kmpc_taskgroup()

void __kmpc_taskgroup ( ident_t ,
kmp_int32   
)

◆ get_num_hidden_helper_threads()

static kmp_int32 get_num_hidden_helper_threads ( )
static

Definition at line 69 of file common.h.

References __kmp_hidden_helper_threads_num.

Referenced by main().