Home
last modified time | relevance | path

Searched refs:cncl_kind (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_cancel.cpp29 kmp_int32 __kmpc_cancel(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind) { in __kmpc_cancel() argument
33 cncl_kind, __kmp_omp_cancellation)); in __kmpc_cancel()
35 KMP_DEBUG_ASSERT(cncl_kind != cancel_noreq); in __kmpc_cancel()
36 KMP_DEBUG_ASSERT(cncl_kind == cancel_parallel || cncl_kind == cancel_loop || in __kmpc_cancel()
37 cncl_kind == cancel_sections || in __kmpc_cancel()
38 cncl_kind == cancel_taskgroup); in __kmpc_cancel()
42 switch (cncl_kind) { in __kmpc_cancel()
52 this_team->t.t_cancel_request.compare_exchange_strong(old, cncl_kind); in __kmpc_cancel()
53 if (old == cancel_noreq || old == cncl_kind) { in __kmpc_cancel()
62 if (cncl_kind == cancel_parallel) in __kmpc_cancel()
[all …]
Dkmp_gsupport.cpp1586 kmp_int32 cncl_kind = 0; in __kmp_gomp_to_omp_cancellation_kind() local
1589 cncl_kind = cancel_parallel; in __kmp_gomp_to_omp_cancellation_kind()
1592 cncl_kind = cancel_loop; in __kmp_gomp_to_omp_cancellation_kind()
1595 cncl_kind = cancel_sections; in __kmp_gomp_to_omp_cancellation_kind()
1598 cncl_kind = cancel_taskgroup; in __kmp_gomp_to_omp_cancellation_kind()
1601 return cncl_kind; in __kmp_gomp_to_omp_cancellation_kind()
1609 kmp_int32 cncl_kind = __kmp_gomp_to_omp_cancellation_kind(which); in KMP_EXPAND_NAME() local
1610 return __kmpc_cancellationpoint(&loc, gtid, cncl_kind); in KMP_EXPAND_NAME()
1619 kmp_int32 cncl_kind = __kmp_gomp_to_omp_cancellation_kind(which); in KMP_EXPAND_NAME() local
1622 return __kmpc_cancellationpoint(&loc, gtid, cncl_kind); in KMP_EXPAND_NAME()
[all …]
Dkmp.h3770 kmp_int32 cncl_kind);
3772 kmp_int32 cncl_kind);