LLVM OpenMP 22.0.0git
kmp_taskdeps.h File Reference
#include "kmp.h"

Go to the source code of this file.

Macros

#define KMP_ACQUIRE_DEPNODE(gtid, n)
#define KMP_RELEASE_DEPNODE(gtid, n)

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,
n )
Value:
__kmp_acquire_lock(&(n)->dn.lock, (gtid))
static int __kmp_acquire_lock(kmp_lock_t *lck, kmp_int32 gtid)
Definition kmp_lock.h:559

Definition at line 18 of file kmp_taskdeps.h.

Referenced by __kmp_depnode_link_successor(), __kmp_depnode_link_successor(), and __kmp_release_deps().

◆ KMP_RELEASE_DEPNODE

#define KMP_RELEASE_DEPNODE ( gtid,
n )
Value:
__kmp_release_lock(&(n)->dn.lock, (gtid))
static void __kmp_release_lock(kmp_lock_t *lck, kmp_int32 gtid)
Definition kmp_lock.h:567

Definition at line 19 of file kmp_taskdeps.h.

Referenced by __kmp_depnode_link_successor(), __kmp_depnode_link_successor(), and __kmp_release_deps().

Function Documentation

◆ __kmp_dephash_free()

void __kmp_dephash_free ( kmp_info_t * thread,
kmp_dephash_t * h )
inlinestatic

Definition at line 86 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()

◆ __kmp_depnode_list_free()

void __kmp_depnode_list_free ( kmp_info_t * thread,
kmp_depnode_list * list )
inlinestatic

◆ __kmp_node_deref()

◆ __kmp_release_deps()

◆ __kmpc_give_task()