LLVM OpenMP 20.0.0git
Classes | Functions | Variables
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.

◆ main()

int main ( int  argc,
char argv[] 
)

◆ 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.

Referenced by main().

Variable Documentation

◆ __kmp_hidden_helper_threads_num

kmp_int32 __kmp_hidden_helper_threads_num
static

Definition at line 46 of file gtid.cpp.

Referenced by assert_gtid(), and main().