LLVM OpenMP 22.0.0git
kmp_hw_subset_t Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/runtime/src/kmp_affinity.h"

Classes

struct  item_t

Public Member Functions

 kmp_hw_subset_t ()=delete
 kmp_hw_subset_t (const kmp_hw_subset_t &t)=delete
 kmp_hw_subset_t (kmp_hw_subset_t &&t)=delete
kmp_hw_subset_toperator= (const kmp_hw_subset_t &t)=delete
kmp_hw_subset_toperator= (kmp_hw_subset_t &&t)=delete
void set_absolute ()
bool is_absolute () const
void push_back (int num, kmp_hw_t type, int offset, kmp_hw_attr_t attr)
int get_depth () const
const item_tat (int index) const
item_tat (int index)
void remove (int index)
void sort ()
bool specified (kmp_hw_t type) const
void canonicalize (const kmp_topology_t *top)
void dump () const

Static Public Member Functions

static kmp_hw_subset_tallocate ()
static void deallocate (kmp_hw_subset_t *subset)

Static Public Attributes

static const int USE_ALL = (std::numeric_limits<int>::max)()

Detailed Description

Definition at line 1082 of file kmp_affinity.h.

Constructor & Destructor Documentation

◆ kmp_hw_subset_t() [1/3]

kmp_hw_subset_t::kmp_hw_subset_t ( )
delete

◆ kmp_hw_subset_t() [2/3]

kmp_hw_subset_t::kmp_hw_subset_t ( const kmp_hw_subset_t & t)
delete

References kmp_hw_subset_t().

◆ kmp_hw_subset_t() [3/3]

kmp_hw_subset_t::kmp_hw_subset_t ( kmp_hw_subset_t && t)
delete

References kmp_hw_subset_t().

Member Function Documentation

◆ allocate()

kmp_hw_subset_t * kmp_hw_subset_t::allocate ( )
inlinestatic

Definition at line 1123 of file kmp_affinity.h.

References __kmp_allocate, and kmp_hw_subset_t().

Referenced by __kmp_stg_parse_hw_subset().

◆ at() [1/2]

item_t & kmp_hw_subset_t::at ( int index)
inline

Definition at line 1175 of file kmp_affinity.h.

References KMP_DEBUG_ASSERT.

◆ at() [2/2]

const item_t & kmp_hw_subset_t::at ( int index) const
inline

Definition at line 1171 of file kmp_affinity.h.

References KMP_DEBUG_ASSERT.

◆ canonicalize()

◆ deallocate()

void kmp_hw_subset_t::deallocate ( kmp_hw_subset_t * subset)
inlinestatic

Definition at line 1134 of file kmp_affinity.h.

References __kmp_free, and kmp_hw_subset_t().

Referenced by __kmp_stg_parse_hw_subset().

◆ dump()

void kmp_hw_subset_t::dump ( ) const
inline

Definition at line 1236 of file kmp_affinity.h.

References __kmp_hw_get_core_type_string(), __kmp_hw_get_keyword(), i, j, and type.

◆ get_depth()

int kmp_hw_subset_t::get_depth ( ) const
inline

Definition at line 1170 of file kmp_affinity.h.

Referenced by canonicalize().

◆ is_absolute()

bool kmp_hw_subset_t::is_absolute ( ) const
inline

Definition at line 1139 of file kmp_affinity.h.

Referenced by canonicalize().

◆ operator=() [1/2]

kmp_hw_subset_t & kmp_hw_subset_t::operator= ( const kmp_hw_subset_t & t)
delete

References kmp_hw_subset_t().

◆ operator=() [2/2]

kmp_hw_subset_t & kmp_hw_subset_t::operator= ( kmp_hw_subset_t && t)
delete

References kmp_hw_subset_t().

◆ push_back()

void kmp_hw_subset_t::push_back ( int num,
kmp_hw_t type,
int offset,
kmp_hw_attr_t attr )
inline

Definition at line 1140 of file kmp_affinity.h.

References __kmp_allocate, __kmp_free, i, and type.

Referenced by canonicalize().

◆ remove()

void kmp_hw_subset_t::remove ( int index)
inline

Definition at line 1179 of file kmp_affinity.h.

References j, and KMP_DEBUG_ASSERT.

◆ set_absolute()

void kmp_hw_subset_t::set_absolute ( )
inline

Definition at line 1138 of file kmp_affinity.h.

Referenced by canonicalize().

◆ sort()

void kmp_hw_subset_t::sort ( )
inline

Definition at line 1187 of file kmp_affinity.h.

References __kmp_topology, and KMP_DEBUG_ASSERT.

Referenced by canonicalize().

◆ specified()

bool kmp_hw_subset_t::specified ( kmp_hw_t type) const
inline

Definition at line 1191 of file kmp_affinity.h.

References type.

Member Data Documentation

◆ USE_ALL

const int kmp_hw_subset_t::USE_ALL = (std::numeric_limits<int>::max)()
static

Definition at line 1095 of file kmp_affinity.h.

Referenced by __kmp_stg_parse_hw_subset(), and canonicalize().


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