/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/ |
D | sync.cu | 36 EXTERN int32_t __kmpc_cancel_barrier(kmp_Ident *loc_ref, int32_t tid) { in __kmpc_cancel_barrier() argument 38 __kmpc_barrier(loc_ref, tid); in __kmpc_cancel_barrier() 43 EXTERN void __kmpc_barrier(kmp_Ident *loc_ref, int32_t tid) { in __kmpc_barrier() argument 44 if (checkRuntimeUninitialized(loc_ref)) { in __kmpc_barrier() 45 ASSERT0(LT_FUSSY, checkSPMDMode(loc_ref), in __kmpc_barrier() 47 __kmpc_barrier_simple_spmd(loc_ref, tid); in __kmpc_barrier() 49 tid = GetLogicalThreadIdInBlock(checkSPMDMode(loc_ref)); in __kmpc_barrier() 51 GetNumberOfOmpThreads(checkSPMDMode(loc_ref)); in __kmpc_barrier() 53 if (checkSPMDMode(loc_ref)) { in __kmpc_barrier() 54 __kmpc_barrier_simple_spmd(loc_ref, tid); in __kmpc_barrier() [all …]
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_dispatch.h | 61 void __kmp_dispatch_dxo_error(int *gtid_ref, int *cid_ref, ident_t *loc_ref); 62 void __kmp_dispatch_deo_error(int *gtid_ref, int *cid_ref, ident_t *loc_ref); 319 void __kmp_dispatch_deo(int *gtid_ref, int *cid_ref, ident_t *loc_ref) { in __kmp_dispatch_deo() argument 333 __kmp_push_sync(gtid, ct_ordered_in_pdo, loc_ref, NULL, 0); in __kmp_dispatch_deo() 335 __kmp_push_sync(gtid, ct_ordered_in_pdo, loc_ref, NULL); in __kmp_dispatch_deo() 357 ct_ordered_in_pdo, loc_ref, in __kmp_dispatch_deo() 394 void __kmp_dispatch_dxo(int *gtid_ref, int *cid_ref, ident_t *loc_ref) { in __kmp_dispatch_dxo() argument 408 __kmp_pop_sync(gtid, ct_ordered_in_pdo, loc_ref); in __kmp_dispatch_dxo() 429 ct_ordered_in_pdo, loc_ref, in __kmp_dispatch_dxo()
|
D | kmp_tasking.cpp | 598 static void __kmpc_omp_task_begin_if0_template(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_omp_task_begin_if0_template() argument 607 gtid, loc_ref, taskdata, current_task)); in __kmpc_omp_task_begin_if0_template() 644 loc_ref, taskdata)); in __kmpc_omp_task_begin_if0_template() 649 static void __kmpc_omp_task_begin_if0_ompt(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_omp_task_begin_if0_ompt() argument 653 __kmpc_omp_task_begin_if0_template<true>(loc_ref, gtid, task, frame_address, in __kmpc_omp_task_begin_if0_ompt() 664 void __kmpc_omp_task_begin_if0(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_omp_task_begin_if0() argument 669 __kmpc_omp_task_begin_if0_ompt(loc_ref, gtid, task, in __kmpc_omp_task_begin_if0() 675 __kmpc_omp_task_begin_if0_template<false>(loc_ref, gtid, task, NULL, NULL); in __kmpc_omp_task_begin_if0() 681 void __kmpc_omp_task_begin(ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *task) { in __kmpc_omp_task_begin() argument 687 gtid, loc_ref, KMP_TASK_TO_TASKDATA(task), current_task)); in __kmpc_omp_task_begin() [all …]
|
D | kmp_taskdeps.cpp | 508 kmp_int32 __kmpc_omp_task_with_deps(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_omp_task_with_deps() argument 516 loc_ref, new_taskdata)); in __kmpc_omp_task_with_deps() 611 gtid, loc_ref, new_taskdata)); in __kmpc_omp_task_with_deps() 623 gtid, loc_ref, new_taskdata)); in __kmpc_omp_task_with_deps() 629 gtid, loc_ref, new_taskdata)); in __kmpc_omp_task_with_deps() 668 void __kmpc_omp_wait_deps(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 ndeps, in __kmpc_omp_wait_deps() argument 671 KA_TRACE(10, ("__kmpc_omp_wait_deps(enter): T#%d loc=%p\n", gtid, loc_ref)); in __kmpc_omp_wait_deps() 676 gtid, loc_ref)); in __kmpc_omp_wait_deps() 764 gtid, loc_ref)); in __kmpc_omp_wait_deps() 781 gtid, loc_ref)); in __kmpc_omp_wait_deps() [all …]
|
D | kmp.h | 3232 extern void __kmp_parallel_deo(int *gtid_ref, int *cid_ref, ident_t *loc_ref); 3233 extern void __kmp_parallel_dxo(int *gtid_ref, int *cid_ref, ident_t *loc_ref); 3601 extern kmp_task_t *__kmp_task_alloc(ident_t *loc_ref, kmp_int32 gtid, 3606 extern void __kmp_init_implicit_task(ident_t *loc_ref, kmp_info_t *this_thr, 3612 extern kmp_event_t *__kmpc_task_allow_completion_event(ident_t *loc_ref, 3722 KMP_EXPORT kmp_int32 __kmpc_omp_task(ident_t *loc_ref, kmp_int32 gtid, 3724 KMP_EXPORT kmp_task_t *__kmpc_omp_task_alloc(ident_t *loc_ref, kmp_int32 gtid, 3729 KMP_EXPORT kmp_task_t *__kmpc_omp_target_task_alloc(ident_t *loc_ref, kmp_int32 gtid, 3735 KMP_EXPORT void __kmpc_omp_task_begin_if0(ident_t *loc_ref, kmp_int32 gtid, 3737 KMP_EXPORT void __kmpc_omp_task_complete_if0(ident_t *loc_ref, kmp_int32 gtid, [all …]
|
D | kmp_cancel.cpp | 29 kmp_int32 __kmpc_cancel(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind) { in __kmpc_cancel() argument 135 kmp_int32 __kmpc_cancellationpoint(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_cancellationpoint() argument
|
D | kmp_dispatch.cpp | 42 void __kmp_dispatch_deo_error(int *gtid_ref, int *cid_ref, ident_t *loc_ref) { in __kmp_dispatch_deo_error() argument 52 __kmp_push_sync(*gtid_ref, ct_ordered_in_pdo, loc_ref, NULL, 0); in __kmp_dispatch_deo_error() 54 __kmp_push_sync(*gtid_ref, ct_ordered_in_pdo, loc_ref, NULL); in __kmp_dispatch_deo_error() 60 void __kmp_dispatch_dxo_error(int *gtid_ref, int *cid_ref, ident_t *loc_ref) { in __kmp_dispatch_dxo_error() argument 66 __kmp_pop_sync(*gtid_ref, ct_ordered_in_pdo, loc_ref); in __kmp_dispatch_dxo_error()
|
D | kmp_runtime.cpp | 665 void __kmp_parallel_deo(int *gtid_ref, int *cid_ref, ident_t *loc_ref) { in __kmp_parallel_deo() argument 674 __kmp_push_sync(gtid, ct_ordered_in_parallel, loc_ref, NULL, 0); in __kmp_parallel_deo() 676 __kmp_push_sync(gtid, ct_ordered_in_parallel, loc_ref, NULL); in __kmp_parallel_deo() 690 void __kmp_parallel_dxo(int *gtid_ref, int *cid_ref, ident_t *loc_ref) { in __kmp_parallel_dxo() argument 699 __kmp_pop_sync(gtid, ct_ordered_in_parallel, loc_ref); in __kmp_parallel_dxo()
|
/external/llvm-project/openmp/runtime/test/tasking/ |
D | bug_nested_proxy_task.c | 66 __kmpc_omp_task_alloc( ident_t *loc_ref, kmp_int32 gtid, kmp_int32 flags, 70 kmp_int32 __kmpc_omp_task_with_deps ( ident_t *loc_ref, kmp_int32 gtid, kmp_task_t * new_task, 74 __kmpc_omp_task( ident_t *loc_ref, kmp_int32 gtid, kmp_task_t * new_task );
|
D | bug_proxy_task_dep_waiting.c | 63 __kmpc_omp_task_alloc( ident_t *loc_ref, kmp_int32 gtid, kmp_int32 flags, 67 kmp_int32 __kmpc_omp_task_with_deps ( ident_t *loc_ref, kmp_int32 gtid, kmp_task_t * new_task, 71 __kmpc_omp_task( ident_t *loc_ref, kmp_int32 gtid, kmp_task_t * new_task );
|
D | kmp_detach_tasks_t1.c | 63 ident_t *loc_ref, int gtid, ptask task);
|
D | kmp_detach_tasks_t2.c | 64 ident_t *loc_ref, int gtid, kmp_task_t *task);
|
D | kmp_detach_tasks_t3.c | 74 ident_t *loc_ref, int gtid, kmp_task_t *task);
|
/external/llvm-project/openmp/libomptarget/src/ |
D | private.h | 81 int32_t __kmpc_omp_taskwait(void *loc_ref, int32_t gtid) __attribute__((weak));
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/ |
D | interface.h | 361 EXTERN void __kmpc_barrier(kmp_Ident *loc_ref, int32_t tid); 362 EXTERN void __kmpc_barrier_simple_spmd(kmp_Ident *loc_ref, int32_t tid);
|
/external/llvm-project/llvm/test/Transforms/OpenMP/ |
D | gpu_state_machine_function_ptr_replacement.ll | 146 declare void @__kmpc_barrier_simple_spmd(%struct.ident_t* nocapture readnone %loc_ref, i32 %tid)
|