LLVM OpenMP 20.0.0git
|
#include <omp.h>
#include <chrono>
#include <cstdint>
#include <iostream>
#include <thread>
Go to the source code of this file.
Classes | |
struct | ID |
struct | ident |
The ident structure that describes a source location. More... | |
struct | kmp_event_t |
struct | shar |
struct | task |
Macros | |
#define | PTASK_FLAG_DETACHABLE 0x40 |
Typedefs | |
using | kmp_int32 = int32_t |
typedef struct ID | id |
typedef struct ident | ident_t |
typedef enum kmp_event_type_t | kmp_event_type_t |
typedef struct shar * | pshareds |
typedef struct task * | ptask |
typedef struct task | kmp_task_t |
typedef int(* | task_entry_t) (int, ptask) |
Enumerations | |
enum | kmp_event_type_t { KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 } |
Functions | |
int | __kmpc_global_thread_num (void *id_ref) |
int ** | __kmpc_omp_task_alloc (id *loc, int gtid, int flags, size_t sz, size_t shar, task_entry_t rtn) |
kmp_int32 | __kmpc_omp_task (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task) |
omp_event_handle_t | __kmpc_task_allow_completion_event (ident_t *loc_ref, int gtid, kmp_task_t *task) |
void | target (ptask task) |
int | task_entry (int gtid, ptask task) |
int | main (int argc, char *argv[]) |
Variables | |
int volatile | checker |
#define PTASK_FLAG_DETACHABLE 0x40 |
Definition at line 11 of file bug_taskwait_detach.cpp.
typedef enum kmp_event_type_t kmp_event_type_t |
using kmp_int32 = int32_t |
Definition at line 14 of file bug_taskwait_detach.cpp.
typedef struct task kmp_task_t |
Definition at line 55 of file bug_taskwait_detach.cpp.
enum kmp_event_type_t |
Definition at line 29 of file bug_taskwait_detach.cpp.
kmp_int32 __kmpc_omp_task | ( | ident_t * | loc_ref, |
kmp_int32 | gtid, | ||
kmp_task_t * | new_task | ||
) |
Definition at line 2119 of file kmp_tasking.cpp.
Referenced by main().
int ** __kmpc_omp_task_alloc | ( | id * | loc, |
int | gtid, | ||
int | flags, | ||
size_t | sz, | ||
size_t | shar, | ||
task_entry_t | rtn | ||
) |
Referenced by main().
omp_event_handle_t __kmpc_task_allow_completion_event | ( | ident_t * | loc_ref, |
int | gtid, | ||
kmp_task_t * | task | ||
) |
Definition at line 4601 of file kmp_tasking.cpp.
Referenced by main().
Definition at line 87 of file bug_taskwait_detach.cpp.
References __kmpc_global_thread_num(), __kmpc_omp_task(), __kmpc_omp_task_alloc(), __kmpc_task_allow_completion_event(), checker, task::evt, PTASK_FLAG_DETACHABLE, and task_entry().
Definition at line 74 of file bug_taskwait_detach.cpp.
References checker, and task::evt.
Referenced by task_entry().
int volatile checker |
Definition at line 72 of file bug_taskwait_detach.cpp.