LLVM OpenMP 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
kmp_hier_t< T > Struct Template Reference

#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
 

Detailed Description

template<typename T>
struct kmp_hier_t< T >

Definition at line 472 of file kmp_dispatch_hier.h.

Member Typedef Documentation

◆ ST

template<typename T >
typedef traits_t<T>::signed_t kmp_hier_t< T >::ST

Definition at line 475 of file kmp_dispatch_hier.h.

◆ UT

template<typename T >
typedef traits_t<T>::unsigned_t kmp_hier_t< T >::UT

Definition at line 474 of file kmp_dispatch_hier.h.

Member Function Documentation

◆ allocate_hier()

template<typename T >
void kmp_hier_t< T >::allocate_hier ( int  n,
const kmp_hier_layer_e new_layers,
const enum sched_type new_scheds,
const ST new_chunks 
)
inline

◆ deallocate()

template<typename T >
void kmp_hier_t< T >::deallocate ( )
inline

◆ get_chunk()

template<typename T >
ST kmp_hier_t< T >::get_chunk ( int  level) const
inline

◆ get_length()

template<typename T >
int kmp_hier_t< T >::get_length ( int  level) const
inline

◆ get_num_active()

template<typename T >
int kmp_hier_t< T >::get_num_active ( int  level) const
inline

◆ get_num_layers()

template<typename T >
int kmp_hier_t< T >::get_num_layers ( ) const
inline

Definition at line 894 of file kmp_dispatch_hier.h.

References kmp_hier_t< T >::num_layers.

◆ get_sched()

template<typename T >
enum sched_type kmp_hier_t< T >::get_sched ( int  level) const
inline

◆ get_top_level_nproc()

template<typename T >
int kmp_hier_t< T >::get_top_level_nproc ( ) const
inline

Definition at line 898 of file kmp_dispatch_hier.h.

References kmp_hier_t< T >::top_level_nproc.

◆ get_type()

template<typename T >
kmp_hier_layer_e kmp_hier_t< T >::get_type ( int  level) const
inline

◆ get_unit()

template<typename T >
kmp_hier_top_unit_t< T > * kmp_hier_t< T >::get_unit ( int  level,
int  index 
)
inline

◆ is_valid()

template<typename T >
bool kmp_hier_t< T >::is_valid ( ) const
inline

Definition at line 900 of file kmp_dispatch_hier.h.

References kmp_hier_t< T >::valid.

◆ need_to_reallocate()

template<typename T >
bool kmp_hier_t< T >::need_to_reallocate ( int  n,
const kmp_hier_layer_e new_layers,
const enum sched_type new_scheds,
const ST new_chunks 
) const
inline

◆ next()

template<typename T >
int kmp_hier_t< T >::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 
)
inline

Member Data Documentation

◆ info

template<typename T >
kmp_hier_layer_info_t<T>* kmp_hier_t< T >::info

◆ layers

template<typename T >
kmp_hier_top_unit_t<T>** kmp_hier_t< T >::layers

◆ num_layers

template<typename T >
int kmp_hier_t< T >::num_layers

◆ top_level_nproc

template<typename T >
int kmp_hier_t< T >::top_level_nproc

◆ type_size

template<typename T >
int kmp_hier_t< T >::type_size

◆ valid

template<typename T >
bool kmp_hier_t< T >::valid

The documentation for this struct was generated from the following file: