LLVM OpenMP 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/runtime/src/kmp_dispatch_hier.h"
Public Types | |
typedef traits_t< T >::unsigned_t | UT |
typedef traits_t< T >::signed_t | ST |
Public Member Functions | |
void | deallocate () |
bool | need_to_reallocate (int n, const kmp_hier_layer_e *new_layers, const enum sched_type *new_scheds, const ST *new_chunks) const |
void | allocate_hier (int n, const kmp_hier_layer_e *new_layers, const enum sched_type *new_scheds, const ST *new_chunks) |
int | next (ident_t *loc, int gtid, dispatch_private_info_template< T > *pr, kmp_int32 *p_last, T *p_lb, T *p_ub, ST *p_st) |
kmp_hier_layer_e | get_type (int level) const |
enum sched_type | get_sched (int level) const |
ST | get_chunk (int level) const |
int | get_num_active (int level) const |
int | get_length (int level) const |
kmp_hier_top_unit_t< T > * | get_unit (int level, int index) |
int | get_num_layers () const |
int | get_top_level_nproc () const |
bool | is_valid () const |
Public Attributes | |
int | top_level_nproc |
int | num_layers |
bool | valid |
int | type_size |
kmp_hier_layer_info_t< T > * | info |
kmp_hier_top_unit_t< T > ** | layers |
Definition at line 472 of file kmp_dispatch_hier.h.
typedef traits_t<T>::signed_t kmp_hier_t< T >::ST |
Definition at line 475 of file kmp_dispatch_hier.h.
typedef traits_t<T>::unsigned_t kmp_hier_t< T >::UT |
Definition at line 474 of file kmp_dispatch_hier.h.
|
inline |
Definition at line 655 of file kmp_dispatch_hier.h.
References __kmp_allocate, __kmp_get_hier_str(), __kmp_hier_max_units, kmp_hier_t< T >::deallocate(), kmp_hier_t< T >::get_length(), i, kmp_hier_t< T >::info, j, KD_TRACE, KMP_WARNING, kmp_hier_t< T >::layers, kmp_hier_t< T >::need_to_reallocate(), kmp_hier_t< T >::num_layers, kmp_hier_t< T >::top_level_nproc, TRUE, kmp_hier_t< T >::type_size, and kmp_hier_t< T >::valid.
|
inline |
Definition at line 617 of file kmp_dispatch_hier.h.
References __kmp_free, i, kmp_hier_t< T >::info, kmp_hier_t< T >::layers, kmp_hier_t< T >::num_layers, and kmp_hier_t< T >::valid.
Referenced by kmp_hier_t< T >::allocate_hier().
|
inline |
Definition at line 868 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::info, KMP_DEBUG_ASSERT, level, and kmp_hier_t< T >::num_layers.
Referenced by __kmp_dispatch_init_hierarchy().
|
inline |
Definition at line 880 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::info, KMP_DEBUG_ASSERT, level, and kmp_hier_t< T >::num_layers.
Referenced by kmp_hier_t< T >::allocate_hier(), and kmp_hier_t< T >::get_unit().
|
inline |
Definition at line 874 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::info, KMP_DEBUG_ASSERT, level, and kmp_hier_t< T >::num_layers.
Referenced by __kmp_dispatch_init_hierarchy().
|
inline |
Definition at line 894 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::num_layers.
|
inline |
Definition at line 862 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::info, KMP_DEBUG_ASSERT, level, and kmp_hier_t< T >::num_layers.
Referenced by __kmp_dispatch_init_hierarchy().
|
inline |
Definition at line 898 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::top_level_nproc.
|
inline |
Definition at line 856 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::info, KMP_DEBUG_ASSERT, level, and kmp_hier_t< T >::num_layers.
Referenced by __kmp_dispatch_init_hierarchy().
|
inline |
Definition at line 886 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::get_length(), KMP_DEBUG_ASSERT, kmp_hier_t< T >::layers, level, and kmp_hier_t< T >::num_layers.
Referenced by __kmp_dispatch_init_hierarchy().
|
inline |
Definition at line 900 of file kmp_dispatch_hier.h.
References kmp_hier_t< T >::valid.
|
inline |
Definition at line 634 of file kmp_dispatch_hier.h.
References i, kmp_hier_t< T >::info, kmp_hier_t< T >::layers, kmp_hier_t< T >::num_layers, type, kmp_hier_t< T >::type_size, and kmp_hier_t< T >::valid.
Referenced by kmp_hier_t< T >::allocate_hier().
|
inline |
Definition at line 712 of file kmp_dispatch_hier.h.
References __kmp_dispatch_hand_threading, __kmp_dispatch_init_algorithm(), __kmp_threads, __kmp_type_convert(), FALSE, KD_TRACE, KMP_DEBUG_ASSERT, loc, dispatch_private_info_template< T >::private_info_tmpl::p, parent, dispatch_private_info_template< T >::schedule, status, and dispatch_private_info_template< T >::u.
kmp_hier_layer_info_t<T>* kmp_hier_t< T >::info |
Definition at line 614 of file kmp_dispatch_hier.h.
Referenced by __kmp_dispatch_init_hierarchy(), kmp_hier_t< T >::allocate_hier(), kmp_hier_t< T >::deallocate(), kmp_hier_t< T >::get_chunk(), kmp_hier_t< T >::get_length(), kmp_hier_t< T >::get_num_active(), kmp_hier_t< T >::get_sched(), kmp_hier_t< T >::get_type(), and kmp_hier_t< T >::need_to_reallocate().
kmp_hier_top_unit_t<T>** kmp_hier_t< T >::layers |
Definition at line 615 of file kmp_dispatch_hier.h.
Referenced by kmp_hier_t< T >::allocate_hier(), kmp_hier_t< T >::deallocate(), kmp_hier_t< T >::get_unit(), and kmp_hier_t< T >::need_to_reallocate().
int kmp_hier_t< T >::num_layers |
Definition at line 611 of file kmp_dispatch_hier.h.
Referenced by kmp_hier_t< T >::allocate_hier(), kmp_hier_t< T >::deallocate(), kmp_hier_t< T >::get_chunk(), kmp_hier_t< T >::get_length(), kmp_hier_t< T >::get_num_active(), kmp_hier_t< T >::get_num_layers(), kmp_hier_t< T >::get_sched(), kmp_hier_t< T >::get_type(), kmp_hier_t< T >::get_unit(), and kmp_hier_t< T >::need_to_reallocate().
int kmp_hier_t< T >::top_level_nproc |
Definition at line 610 of file kmp_dispatch_hier.h.
Referenced by __kmp_dispatch_init_hierarchy(), kmp_hier_t< T >::allocate_hier(), and kmp_hier_t< T >::get_top_level_nproc().
int kmp_hier_t< T >::type_size |
Definition at line 613 of file kmp_dispatch_hier.h.
Referenced by kmp_hier_t< T >::allocate_hier(), and kmp_hier_t< T >::need_to_reallocate().
bool kmp_hier_t< T >::valid |
Definition at line 612 of file kmp_dispatch_hier.h.
Referenced by kmp_hier_t< T >::allocate_hier(), kmp_hier_t< T >::deallocate(), kmp_hier_t< T >::is_valid(), and kmp_hier_t< T >::need_to_reallocate().