LLVM OpenMP 22.0.0git
gtid.cpp File Reference
#include "common.h"

Go to the source code of this file.

Classes

struct  kmp_task_t_with_privates
struct  anon

Functions

kmp_int32 omp_task_entry (kmp_int32 gtid, kmp_task_t_with_privates *task)
template<bool hidden_helper_task>
void assert_gtid (int v)
int main (int argc, char *argv[])

Variables

static kmp_int32 __kmp_hidden_helper_threads_num

Function Documentation

◆ assert_gtid()

template<bool hidden_helper_task>
void assert_gtid ( int v)

Definition at line 55 of file gtid.cpp.

References __kmp_hidden_helper_threads_num.

Referenced by main().

◆ main()

◆ omp_task_entry()

kmp_int32 omp_task_entry ( kmp_int32 gtid,
kmp_task_t_with_privates * task )

Definition at line 48 of file gtid.cpp.

References __kmpc_global_thread_num(), p, and task::shareds.

Variable Documentation

◆ __kmp_hidden_helper_threads_num

kmp_int32 __kmp_hidden_helper_threads_num
static

Definition at line 46 of file gtid.cpp.