LLVM OpenMP 22.0.0git
bug_proxy_task_dep_waiting.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <omp.h>
#include "omp_testsuite.h"
#include "omp_my_sleep.h"

Go to the source code of this file.

Classes

struct  ident
 The ident structure that describes a source location. More...
struct  kmp_depend_info
struct  kmp_task

Typedefs

typedef struct ident ident_t
typedef struct kmp_depend_info kmp_depend_info_t
typedef kmp_int32(* kmp_routine_entry_t) (kmp_int32, struct kmp_task *)
typedef struct kmp_task kmp_task_t

Functions

kmp_int32 __kmpc_global_thread_num (ident_t *)
kmp_task_t__kmpc_omp_task_alloc (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 flags, size_t sizeof_kmp_task_t, size_t sizeof_shareds, kmp_routine_entry_t task_entry)
void __kmpc_proxy_task_completed_ooo (kmp_task_t *ptask)
kmp_int32 __kmpc_omp_task_with_deps (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task, kmp_int32 ndeps, kmp_depend_info_t *dep_list, kmp_int32 ndeps_noalias, kmp_depend_info_t *noalias_dep_list)
kmp_int32 __kmpc_omp_task (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task)
voidtarget (void *task)
int task_entry (kmp_int32 gtid, kmp_task_t *task)
int main ()

Variables

pthread_t target_thread

Typedef Documentation

◆ ident_t

typedef struct ident ident_t

◆ kmp_depend_info_t

◆ kmp_routine_entry_t

Definition at line 70 of file bug_proxy_task_dep_waiting.c.

◆ kmp_task_t

typedef struct kmp_task kmp_task_t

Function Documentation

◆ __kmpc_omp_task()

kmp_int32 __kmpc_omp_task ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_task_t * new_task )

Definition at line 1884 of file kmp_tasking.cpp.

◆ __kmpc_omp_task_alloc()

kmp_task_t * __kmpc_omp_task_alloc ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_int32 flags,
size_t sizeof_kmp_task_t,
size_t sizeof_shareds,
kmp_routine_entry_t task_entry )

Definition at line 1449 of file kmp_tasking.cpp.

Referenced by main().

◆ main()

◆ target()

void * target ( void * task)

Definition at line 96 of file bug_proxy_task_dep_waiting.c.

References __kmpc_proxy_task_completed_ooo(), and my_sleep().

◆ task_entry()

int task_entry ( kmp_int32 gtid,
kmp_task_t * task )

Definition at line 106 of file bug_proxy_task_dep_waiting.c.

References target(), and target_thread.

Variable Documentation

◆ target_thread

pthread_t target_thread

Definition at line 103 of file bug_proxy_task_dep_waiting.c.