Grok  10.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
hwy::ChosenTarget Struct Reference

#include <targets.h>

Public Member Functions

void Update (uint32_t targets)
 
void DeInit ()
 
bool IsInitialized () const
 
size_t HWY_INLINE GetIndex () const
 

Private Member Functions

uint32_t LoadMask () const
 
void StoreMask (uint32_t mask)
 

Private Attributes

std::atomic< uint32_t > mask_ {1}
 

Member Function Documentation

◆ DeInit()

void hwy::ChosenTarget::DeInit ( )
inline

References StoreMask().

◆ GetIndex()

size_t HWY_INLINE hwy::ChosenTarget::GetIndex ( ) const
inline

◆ IsInitialized()

bool hwy::ChosenTarget::IsInitialized ( ) const
inline

References LoadMask().

◆ LoadMask()

uint32_t hwy::ChosenTarget::LoadMask ( ) const
inlineprivate

References mask_.

Referenced by GetIndex(), and IsInitialized().

◆ StoreMask()

void hwy::ChosenTarget::StoreMask ( uint32_t  mask)
inlineprivate

References mask_.

Referenced by DeInit(), and Update().

◆ Update()

void hwy::ChosenTarget::Update ( uint32_t  targets)
inline

Member Data Documentation

◆ mask_

std::atomic<uint32_t> hwy::ChosenTarget::mask_ {1}
private

Referenced by LoadMask(), and StoreMask().


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