LLVM OpenMP 22.0.0git
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_routine_entry_t = kmp_int32 (*)(kmp_int32, void *)
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_int64

Definition at line 10 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 1473 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 1884 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 1449 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 2121 of file kmp_tasking.cpp.

◆ __kmpc_taskgroup()

void __kmpc_taskgroup ( ident_t * ,
kmp_int32  )

◆ get_num_hidden_helper_threads()

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().