| /llvm-project-15.0.7/openmp/runtime/test/tasking/ |
| H A D | kmp_detach_tasks_t1.c | 52 } *ptask, kmp_task_t; typedef 54 typedef int(*task_entry_t)(int, ptask); 59 extern ptask __kmpc_omp_task_alloc(id *loc, int gtid, int flags, 61 extern int __kmpc_omp_task(id *loc, int gtid, ptask task); 63 ident_t *loc_ref, int gtid, ptask task); 71 int task_entry(int gtid, ptask task) { in task_entry() 79 ptask task; in main() 93 …task = (ptask)__kmpc_omp_task_alloc(NULL,gtid,PTASK_FLAG_DETACHABLE,sizeof(struct task),sizeof(str… in main()
|
| H A D | bug_taskwait_detach.cpp | 53 } * ptask, kmp_task_t; typedef 55 typedef int (*task_entry_t)(int, ptask); 74 void target(ptask task) { in target() 81 int task_entry(int gtid, ptask task) { in task_entry() 96 ptask task = (ptask)__kmpc_omp_task_alloc( in main()
|
| H A D | kmp_taskloop.c | 39 } *ptask, kmp_task_t; typedef 41 typedef int(* task_entry_t)( int, ptask ); 44 __task_dup_entry(ptask task_dst, ptask task_src, int lastpriv) in __task_dup_entry() 63 ptask 75 int task_entry(int gtid, ptask task) in task_entry() 94 ptask task; in main()
|
| H A D | kmp_detach_tasks_t3.c | 54 } *ptask, kmp_task_t; typedef 62 typedef int(* task_entry_t)( int, ptask ); 70 extern int __kmpc_omp_task_with_deps(id *loc, int gtid, ptask task, int nd, 82 int task_entry(int gtid, ptask task) { in task_entry() 90 ptask task; in main() 108 task = (ptask)__kmpc_omp_task_alloc(NULL,gtid,PTASK_FLAG_DETACHABLE, in main()
|
| H A D | kmp_taskloop_5.c | 39 } *ptask, kmp_task_t; typedef 41 typedef int(* task_entry_t)( int, ptask ); 44 __task_dup_entry(ptask task_dst, ptask task_src, int lastpriv) in __task_dup_entry() 63 ptask 74 int task_entry(int gtid, ptask task) in task_entry() 94 ptask task; in task_loop()
|
| H A D | kmp_detach_tasks_t2.c | 52 } *ptask, kmp_task_t; typedef 54 typedef int(* task_entry_t)( int, ptask ); 72 int task_entry(int gtid, ptask task) { in task_entry() 81 ptask task; in main() 95 task = (ptask)__kmpc_omp_task_alloc(NULL,gtid,PTASK_FLAG_DETACHABLE, in main()
|
| H A D | omp51_task_dep_inoutset.c | 64 int thunk_m(int gtid, task_t* ptask) { in thunk_m() argument 68 printf("task _%d, th %d\n", ptask->f_priv, th); in thunk_m() 83 int thunk_s(int gtid, task_t* ptask) { in thunk_s() argument 87 printf("task _%d, th %d\n", ptask->f_priv, th); in thunk_s()
|
| H A D | kmp_task_depend_all.c | 68 int thunk_m(int gtid, task_t* ptask) { in thunk_m() argument 73 printf("task m_%d, th %d, checker %d\n", ptask->f_priv, th, lcheck); in thunk_m() 90 int thunk_s(int gtid, task_t* ptask) { in thunk_s() argument 95 printf("task 2_%d, th %d, checker %d\n", ptask->f_priv, th, lcheck); in thunk_s()
|
| H A D | kmp_taskwait_depend_all.c | 74 int thunk_m(int gtid, task_t* ptask) { in thunk_m() argument 79 printf("task m_%d, th %d, checker %d\n", ptask->f_priv, th, lcheck); in thunk_m() 96 int thunk_s(int gtid, task_t* ptask) { in thunk_s() argument 101 printf("task 2_%d, th %d, checker %d\n", ptask->f_priv, th, lcheck); in thunk_s()
|
| H A D | bug_nested_proxy_task.c | 69 void __kmpc_proxy_task_completed_ooo ( kmp_task_t *ptask );
|
| H A D | bug_proxy_task_dep_waiting.c | 66 void __kmpc_proxy_task_completed_ooo ( kmp_task_t *ptask );
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_tasking.cpp | 4229 kmp_taskdata_t *taskdata = KMP_TASK_TO_TASKDATA(ptask); in __kmp_bottom_half_finish_proxy() 4255 KMP_DEBUG_ASSERT(ptask != NULL); in __kmpc_proxy_task_completed() 4265 __kmp_bottom_half_finish_proxy(gtid, ptask); in __kmpc_proxy_task_completed() 4273 KMP_DEBUG_ASSERT(ptask != NULL); in __kmpc_give_task() 4297 } while (!__kmp_give_task(thread, k, ptask, pass)); in __kmpc_give_task() 4319 KMP_DEBUG_ASSERT(ptask != NULL); in __kmpc_proxy_task_completed_ooo() 4331 __kmpc_give_task(ptask); in __kmpc_proxy_task_completed_ooo() 4354 kmp_task_t *ptask = event->ed.task; in __kmp_fulfill_event() local 4388 __kmpc_proxy_task_completed(gtid, ptask); in __kmp_fulfill_event() 4394 __kmpc_proxy_task_completed_ooo(ptask); in __kmp_fulfill_event() [all …]
|
| H A D | kmp_taskdeps.h | 92 extern void __kmpc_give_task(kmp_task_t *ptask, kmp_int32 start);
|
| H A D | kmp.h | 3983 KMP_EXPORT void __kmpc_proxy_task_completed(kmp_int32 gtid, kmp_task_t *ptask); 3984 KMP_EXPORT void __kmpc_proxy_task_completed_ooo(kmp_task_t *ptask);
|