VTK-m  2.0
Classes | Public Member Functions | Public Attributes | List of all members
vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType > Struct Template Reference

#include <ZFPBlockWriter.h>

Classes

union  UIntInt
 

Public Member Functions

VTKM_EXEC BlockWriter (AtomicPortalType &portal, const int &maxbits, const vtkm::Id &block_idx)
 
VTKM_EXEC void Add (const vtkm::Id index, Word &value)
 
VTKM_EXEC vtkm::UInt64 write_bits (const vtkm::UInt64 &bits, const unsigned int &n_bits)
 
vtkm::UInt32 VTKM_EXEC write_bit (const unsigned int &bit)
 

Public Attributes

vtkm::Id m_word_index
 
vtkm::Int32 m_start_bit
 
vtkm::Int32 m_current_bit
 
const int m_maxbits
 
AtomicPortalType & Portal
 

Constructor & Destructor Documentation

◆ BlockWriter()

template<int block_size, typename AtomicPortalType >
VTKM_EXEC vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::BlockWriter ( AtomicPortalType &  portal,
const int &  maxbits,
const vtkm::Id block_idx 
)
inline

Member Function Documentation

◆ Add()

template<int block_size, typename AtomicPortalType >
VTKM_EXEC void vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::Add ( const vtkm::Id  index,
Word value 
)
inline

◆ write_bit()

template<int block_size, typename AtomicPortalType >
vtkm::UInt32 VTKM_EXEC vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::write_bit ( const unsigned int &  bit)
inline

◆ write_bits()

template<int block_size, typename AtomicPortalType >
VTKM_EXEC vtkm::UInt64 vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::write_bits ( const vtkm::UInt64 &  bits,
const unsigned int &  n_bits 
)
inline

Member Data Documentation

◆ m_current_bit

template<int block_size, typename AtomicPortalType >
vtkm::Int32 vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::m_current_bit

◆ m_maxbits

template<int block_size, typename AtomicPortalType >
const int vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::m_maxbits

◆ m_start_bit

template<int block_size, typename AtomicPortalType >
vtkm::Int32 vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::m_start_bit

◆ m_word_index

template<int block_size, typename AtomicPortalType >
vtkm::Id vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::m_word_index

◆ Portal

template<int block_size, typename AtomicPortalType >
AtomicPortalType& vtkm::worklet::zfp::BlockWriter< block_size, AtomicPortalType >::Portal

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