LLVM OpenMP 19.0.0git
Functions
Startup and Shutdown

These functions are for library initialization and shutdown. More...

Functions

void __kmpc_begin (ident_t *loc, kmp_int32 flags)
 
void __kmpc_end (ident_t *loc)
 

Detailed Description

These functions are for library initialization and shutdown.

Function Documentation

◆ __kmpc_begin()

void __kmpc_begin ( ident_t loc,
kmp_int32  flags 
)
Parameters
locin source location information
flagsin for future use (currently ignored)

Initialize the runtime library. This call is optional; if it is not made then it will be implicitly called by attempts to use other library functions.

Definition at line 37 of file kmp_csupport.cpp.

References __kmp_assign_root_init_mask, __kmp_ignore_mppbeg(), __kmp_internal_begin(), __kmp_middle_initialize(), __kmp_str_match_true(), FALSE, and KC_TRACE.

◆ __kmpc_end()

void __kmpc_end ( ident_t loc)
Parameters
locsource location information

Shutdown the runtime library. This is also optional, and even if called will not do anything unless the KMP_IGNORE_MPPEND environment variable is set to zero.

Definition at line 60 of file kmp_csupport.cpp.

References __kmp_gtid_get_specific(), __kmp_ignore_mppend(), __kmp_internal_end_library(), __kmp_internal_end_thread(), ompt_callbacks_active_s::enabled, FALSE, KA_TRACE, KC_TRACE, and ompt_enabled.