|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <CompressedBrickIterator.h>
Public Types | |
| typedef T | PETE_Return_t |
| typedef BrickIterator< T, Dim > | PETE_Expr_t |
Public Member Functions | |
| CompressedBrickIterator (T *t, const NDIndex< Dim > &c, const NDIndex< Dim > &a, T &compressed) | |
| CompressedBrickIterator (T *t, const vec< int, Dim > &v, T &compressed) | |
| CompressedBrickIterator (T &t) | |
| CompressedBrickIterator () | |
| CompressedBrickIterator (const NDIndex< Dim > &a, T &compressed) | |
| CompressedBrickIterator (const BrickIterator< T, Dim > &x, T &compressed) | |
| bool | IsCompressed () const |
| bool | CanCompress (const T &) const |
| void | Compress (T &val) |
| bool | TryCompress () |
| bool | TryCompress (T val) |
| const CompressedBrickIterator< T, Dim > & | operator= (const CompressedBrickIterator< T, Dim > &rhs) |
| CompressedBrickIterator (const CompressedBrickIterator< T, Dim > &X) | |
| Message & | putMessage (Message &m, bool makecopy=true) |
| Message & | getMessage (Message &m) |
| CompressedBrickIterator< T, 1 > | permute (NDIndex< Dim > ¤t, NDIndex< 1 > &permuted) const |
| CompressedBrickIterator< T, 2 > | permute (NDIndex< Dim > ¤t, NDIndex< 2 > &permuted) const |
| CompressedBrickIterator< T, 3 > | permute (NDIndex< Dim > ¤t, NDIndex< 3 > &permuted) const |
| CompressedBrickIterator< T, 4 > | permute (NDIndex< Dim > ¤t, NDIndex< 4 > &permuted) const |
| CompressedBrickIterator< T, 5 > | permute (NDIndex< Dim > ¤t, NDIndex< 5 > &permuted) const |
| CompressedBrickIterator< T, 6 > | permute (NDIndex< Dim > ¤t, NDIndex< 6 > &permuted) const |
| void | SetCurrent (T *p) |
| void | SetCount (int d, int count) |
| void | ResetCounter (int d) |
| void | SetStride (int d, int stride) |
| int | GetStride (int d) const |
| T & | GetCompressedData () const |
| void | SetCompressedData (T *newData) |
| BrickIterator & | operator++ () |
| bool | whole () const |
| bool | operator== (const BrickIterator< T, Dim > &a) const |
| bool | operator!= (const BrickIterator< T, Dim > &a) const |
| T & | operator* () const |
| void | step (unsigned d) |
| void | rewind (unsigned d) |
| T & | offset (int i) const |
| T & | offset (int i, int j) const |
| T & | offset (int i, int j, int k) const |
| T & | offset (int *i) const |
| T & | unit_offset (int i) const |
| T & | unit_offset (int i, int j) const |
| T & | unit_offset (int i, int j, int k) const |
| void | moveBy (int i) |
| void | moveBy (int i, int j) |
| void | moveBy (int i, int j, int k) |
| void | moveBy (const int *i) |
| int | Stride (int i) const |
| PETE_Expr_t | MakeExpression () const |
| bool | done (unsigned d) const |
| int | size (unsigned d) const |
| int | GetOffset (unsigned d) const |
Protected Member Functions | |
| void | op_pp () |
Protected Attributes | |
| T *__restrict__ | Current |
| vec< int, Dim > | Strides |
| bool | Whole |
| vec< int, Dim > | Counters |
| vec< int, Dim > | Counts |
Private Attributes | |
| T * | CompressedData |
Definition at line 48 of file CompressedBrickIterator.h.
|
inherited |
Definition at line 175 of file BrickIterator.h.
|
inherited |
Definition at line 174 of file BrickIterator.h.
|
inline |
Definition at line 58 of file CompressedBrickIterator.h.
References a, BrickIterator< T, Dim >::BrickIterator(), c, CompressedData, BrickIterator< T, Dim >::Current, Dim, and BrickIterator< T, Dim >::Strides.
Referenced by BareFieldIterator< T, Dim >::BareFieldIterator(), BareFieldIterator< T, Dim >::BareFieldIterator(), BareFieldIterator< T, Dim >::BareFieldIterator(), BareFieldIterator< T, Dim >::BareFieldIterator(), BareFieldIterator< T, Dim >::beginLField(), IndexedBareFieldIterator< T, Dim >::beginLField(), CompressedBrickIterator(), BareFieldIterator< T, Dim >::operator=(), operator=(), and IndexedBareFieldIterator< T, Dim >::plugBase().
|
inline |
Definition at line 73 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::BrickIterator(), CompressedData, BrickIterator< T, Dim >::Current, Dim, and BrickIterator< T, Dim >::Strides.
|
inline |
Definition at line 84 of file CompressedBrickIterator.h.
References CompressedData.
|
inline |
Definition at line 88 of file CompressedBrickIterator.h.
References CompressedData.
| CompressedBrickIterator< T, Dim >::CompressedBrickIterator | ( | const NDIndex< Dim > & | a, |
| T & | compressed ) |
Definition at line 41 of file CompressedBrickIterator.hpp.
References CompressedData, BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, BrickIterator< T, Dim >::Current, Dim, and BrickIterator< T, Dim >::Strides.
|
inline |
Definition at line 96 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::BrickIterator(), CompressedData, and Dim.
| CompressedBrickIterator< T, Dim >::CompressedBrickIterator | ( | const CompressedBrickIterator< T, Dim > & | X | ) |
Definition at line 340 of file CompressedBrickIterator.hpp.
References BrickIterator< T, Dim >::BrickIterator(), CompressedBrickIterator(), CompressedData, Dim, and X.
| bool CompressedBrickIterator< T, Dim >::CanCompress | ( | const T & | val | ) | const |
Definition at line 198 of file CompressedBrickIterator.hpp.
References all_values_equal(), CompressedData, Dim, and IsCompressed().
Referenced by BareField< T, Dim >::accumGuardCells(), and TryCompress().
| void CompressedBrickIterator< T, Dim >::Compress | ( | T & | val | ) |
Definition at line 359 of file CompressedBrickIterator.hpp.
References CompressedData, BrickIterator< T, Dim >::Current, Dim, and BrickIterator< T, Dim >::Strides.
Referenced by TryCompress().
|
inlineinherited |
Definition at line 36 of file BrickIterator.h.
References Counters, and Counts.
Referenced by BareFieldIterator< T, Dim >::done(), and SIndexExpLoop< OP, Dim >::evaluate().
|
inline |
Definition at line 169 of file CompressedBrickIterator.h.
References CompressedData.
Referenced by permute().
| Message & CompressedBrickIterator< T, Dim >::getMessage | ( | Message & | m | ) |
Definition at line 245 of file CompressedBrickIterator.hpp.
References CompressedData, BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, BrickIterator< T, Dim >::Current, Dim, Message::get(), BrickIterator< T, Dim >::getMessage(), getMessage_iter(), PAssert, and BrickIterator< T, Dim >::Strides.
Referenced by BareField< T, Dim >::accumGuardCells(), and FieldDataSource< T, Dim, M, C >::gather_data().
|
inlineinherited |
Definition at line 46 of file BrickIterator.h.
References Counters.
Referenced by BareFieldIterator< T, Dim >::GetCurrentLocation(), BareFieldIterator< T, Dim >::GetCurrentLocation(), and BareFieldIterator< T, Dim >::isInGC().
|
inline |
Definition at line 168 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::Strides.
Referenced by permute().
|
inline |
Definition at line 100 of file CompressedBrickIterator.h.
References CompressedData, and BrickIterator< T, Dim >::Current.
Referenced by CanCompress(), BareFieldIterator< T, Dim >::IsCompressed(), permute(), putMessage(), TryCompress(), and DiscField< Dim >::write_offset_and_data().
|
inlineinherited |
Definition at line 176 of file BrickIterator.h.
|
inlineinherited |
Definition at line 153 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, Dim, and Strides.
|
inlineinherited |
Definition at line 135 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
Referenced by IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), and BareFieldIterator< T, Dim >::SetCurrentLocation().
|
inlineinherited |
Definition at line 140 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
|
inlineinherited |
Definition at line 146 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
|
inlineinherited |
Definition at line 119 of file BrickIterator.h.
References Current, vec< T, Length >::dot(), and Strides.
|
inlineinherited |
Definition at line 107 of file BrickIterator.h.
References Current, and Strides.
Referenced by all_values_equal(), all_values_equal(), all_values_equal(), FieldDebugWriteb(), for_each(), for_each(), for_each(), for_each(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 3U >::scatter(), IntTSCImpl< 3U >::scatter(), and IntTSCImpl< 3U >::scatter().
|
inlineinherited |
Definition at line 111 of file BrickIterator.h.
|
inlineinherited |
Definition at line 115 of file BrickIterator.h.
|
protectedinherited |
Definition at line 111 of file BrickIterator.hpp.
References BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, Current, Dim, rewind(), and step().
Referenced by operator++().
|
inlineinherited |
Definition at line 83 of file BrickIterator.h.
References a, BrickIterator(), and Current.
|
inlineinherited |
Definition at line 89 of file BrickIterator.h.
References Current.
Referenced by BareFieldIterator< T, Dim >::operator*().
|
inlineinherited |
Definition at line 73 of file BrickIterator.h.
References BrickIterator(), and op_pp().
| const CompressedBrickIterator< T, Dim > & CompressedBrickIterator< T, Dim >::operator= | ( | const CompressedBrickIterator< T, Dim > & | rhs | ) |
Definition at line 325 of file CompressedBrickIterator.hpp.
References BrickIterator< T, Dim >::BrickIterator(), CompressedBrickIterator(), and CompressedData.
|
inlineinherited |
Definition at line 79 of file BrickIterator.h.
References a, BrickIterator(), and Current.
|
inline |
Definition at line 146 of file CompressedBrickIterator.h.
Referenced by IndexedLocalAssign(), and IndexedSend().
|
inline |
Definition at line 149 of file CompressedBrickIterator.h.
|
inline |
Definition at line 152 of file CompressedBrickIterator.h.
|
inline |
Definition at line 155 of file CompressedBrickIterator.h.
|
inline |
Definition at line 158 of file CompressedBrickIterator.h.
|
inline |
Definition at line 161 of file CompressedBrickIterator.h.
| Message & CompressedBrickIterator< T, Dim >::putMessage | ( | Message & | m, |
| bool | makecopy = true ) |
Definition at line 220 of file CompressedBrickIterator.hpp.
References BrickIterator< T, Dim >::Current, Dim, IsCompressed(), Message::put(), BrickIterator< T, Dim >::putMessage(), putMessage(), and BrickCounter< Dim >::size().
Referenced by FieldDataSource< T, Dim, M, C >::gather_data(), and IndexedSend().
|
inline |
Definition at line 166 of file CompressedBrickIterator.h.
References BrickCounter< Dim >::Counters.
|
inlineinherited |
Definition at line 100 of file BrickIterator.h.
References BrickCounter< Dim >::Counts, Current, BrickCounter< Dim >::rewind(), and Strides.
Referenced by for_each(), for_each(), for_each(), and op_pp().
|
inline |
Definition at line 170 of file CompressedBrickIterator.h.
References CompressedData.
|
inline |
Definition at line 165 of file CompressedBrickIterator.h.
References BrickCounter< Dim >::Counts.
|
inline |
Definition at line 164 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::Current.
|
inline |
Definition at line 167 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::Strides.
|
inlineinherited |
Definition at line 43 of file BrickIterator.h.
References Counts.
Referenced by all_values_equal(), all_values_equal(), all_values_equal(), all_values_equal(), for_each(), and CompressedBrickIterator< T, Dim >::putMessage().
|
inlineinherited |
Definition at line 95 of file BrickIterator.h.
References Current, BrickCounter< Dim >::step(), and Strides.
Referenced by all_values_equal(), for_each(), for_each(), for_each(), and op_pp().
|
inlineinherited |
Definition at line 160 of file BrickIterator.h.
References Strides.
Referenced by for_each(), for_each(), and for_each().
|
inline |
Definition at line 114 of file CompressedBrickIterator.h.
References TryCompress().
Referenced by BareField< T, Dim >::accumGuardCells(), assign(), IndexedSend(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), and TryCompress().
| bool CompressedBrickIterator< T, Dim >::TryCompress | ( | T | val | ) |
Definition at line 385 of file CompressedBrickIterator.hpp.
References CanCompress(), Compress(), and IsCompressed().
|
inlineinherited |
Definition at line 123 of file BrickIterator.h.
References Current.
Referenced by for_each(), and for_each().
|
inlineinherited |
Definition at line 127 of file BrickIterator.h.
|
inlineinherited |
Definition at line 131 of file BrickIterator.h.
|
inlineinherited |
Definition at line 76 of file BrickIterator.h.
References Whole.
Referenced by putMessage(), and DiscField< Dim >::write_offset_and_data().
|
private |
Definition at line 177 of file CompressedBrickIterator.h.
Referenced by CanCompress(), Compress(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), GetCompressedData(), getMessage(), IsCompressed(), operator=(), and SetCompressedData().
|
protectedinherited |
Definition at line 50 of file BrickIterator.h.
Referenced by BrickCounter(), BrickIterator< T, Dim >::BrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), done(), BrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), GetOffset(), BrickIterator< T, Dim >::moveBy(), BrickIterator< T, Dim >::moveBy(), BrickIterator< T, Dim >::moveBy(), BrickIterator< T, Dim >::moveBy(), op_pp(), BrickIterator< T, Dim >::op_pp(), CompressedBrickIterator< T, Dim >::ResetCounter(), rewind(), and step().
|
protectedinherited |
Definition at line 51 of file BrickIterator.h.
Referenced by BrickCounter(), BrickIterator< T, Dim >::BrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), done(), BrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), op_pp(), BrickIterator< T, Dim >::op_pp(), BrickIterator< T, Dim >::putMessage(), BrickIterator< T, Dim >::rewind(), CompressedBrickIterator< T, Dim >::SetCount(), and size().
|
protectedinherited |
Definition at line 180 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), BrickIterator(), CompressedBrickIterator< T, Dim >::Compress(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::IsCompressed(), moveBy(), moveBy(), moveBy(), moveBy(), offset(), offset(), offset(), offset(), op_pp(), operator!=(), operator*(), operator==(), putMessage(), CompressedBrickIterator< T, Dim >::putMessage(), rewind(), CompressedBrickIterator< T, Dim >::SetCurrent(), step(), unit_offset(), unit_offset(), and unit_offset().
|
protectedinherited |
Definition at line 181 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), CompressedBrickIterator< T, Dim >::Compress(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::GetStride(), moveBy(), moveBy(), moveBy(), moveBy(), offset(), offset(), offset(), offset(), rewind(), CompressedBrickIterator< T, Dim >::SetStride(), step(), Stride(), unit_offset(), and unit_offset().
|
protectedinherited |
Definition at line 182 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), BrickIterator(), and whole().