LLVM OpenMP 20.0.0git
Macros | Functions
kmp_taskdeps.h File Reference
#include "kmp.h"

Go to the source code of this file.

Macros

#define KMP_ACQUIRE_DEPNODE(gtid, n)   __kmp_acquire_lock(&(n)->dn.lock, (gtid))
 
#define KMP_RELEASE_DEPNODE(gtid, n)   __kmp_release_lock(&(n)->dn.lock, (gtid))
 

Functions

static void __kmp_node_deref (kmp_info_t *thread, kmp_depnode_t *node)
 
static void __kmp_depnode_list_free (kmp_info_t *thread, kmp_depnode_list *list)
 
static void __kmp_dephash_free_entries (kmp_info_t *thread, kmp_dephash_t *h)
 
static void __kmp_dephash_free (kmp_info_t *thread, kmp_dephash_t *h)
 
void __kmpc_give_task (kmp_task_t *ptask, kmp_int32 start)
 
static void __kmp_release_deps (kmp_int32 gtid, kmp_taskdata_t *task)
 

Macro Definition Documentation

◆ KMP_ACQUIRE_DEPNODE

#define KMP_ACQUIRE_DEPNODE (   gtid,
 
)    __kmp_acquire_lock(&(n)->dn.lock, (gtid))

Definition at line 18 of file kmp_taskdeps.h.

◆ KMP_RELEASE_DEPNODE

#define KMP_RELEASE_DEPNODE (   gtid,
 
)    __kmp_release_lock(&(n)->dn.lock, (gtid))

Definition at line 19 of file kmp_taskdeps.h.

Function Documentation

◆ __kmp_dephash_free()

static void __kmp_dephash_free ( kmp_info_t thread,
kmp_dephash_t h 
)
inlinestatic

Definition at line 83 of file kmp_taskdeps.h.

References __kmp_dephash_free_entries(), __kmp_thread_free, and h.

Referenced by __kmp_free_implicit_task(), and __kmp_release_deps().

◆ __kmp_dephash_free_entries()

static void __kmp_dephash_free_entries ( kmp_info_t thread,
kmp_dephash_t h 
)
inlinestatic

◆ __kmp_depnode_list_free()

static void __kmp_depnode_list_free ( kmp_info_t thread,
kmp_depnode_list list 
)
inlinestatic

◆ __kmp_node_deref()

static void __kmp_node_deref ( kmp_info_t thread,
kmp_depnode_t node 
)
inlinestatic

◆ __kmp_release_deps()

static void __kmp_release_deps ( kmp_int32  gtid,
kmp_taskdata_t task 
)
inlinestatic

◆ __kmpc_give_task()

void __kmpc_give_task ( kmp_task_t ptask,
kmp_int32  start 
)