|
docc 0.8.3 (0d44999b)
C++ API Reference
|
#include <sdfg/data_flow/pointer_metadata.h>
Public Member Functions | |
| ConvexAccessPattern (symbolic::Expression size, bool not_sparse=false) | |
| symbolic::Expression | size () const |
| bool | empty () const override |
| There are no elements in this pattern = no accesses of this type. | |
| bool | every_element_accessed () const override |
| Every element that is part of this pattern is actually accessed. | |
| void | replace (const symbolic::Expression old_expression, const symbolic::Expression new_expression) override |
| void | replace (const symbolic::ExpressionMapping &replacements) override |
| MemoryAccessPatternType | clone () const override |
| void | serialize_to_json (nlohmann::json &entry) override |
| Public Member Functions inherited from sdfg::data_flow::MemoryAccessPattern | |
| virtual | ~MemoryAccessPattern ()=default |
| virtual const math::tensor::TensorLayout * | layout () const |
| The structured affine layout (shape/strides/offset, in elements) backing this pattern, or nullptr when the pattern carries no explicit layout (a flat convex span or no access). | |
| MemoryAccessPatternType | ref () const |
Static Public Member Functions | |
| static MemoryAccessPatternType | create (symbolic::Expression size, bool not_sparse=false) |
|
inline |
|
overridevirtual |
Implements sdfg::data_flow::MemoryAccessPattern.
|
static |
|
inlineoverridevirtual |
There are no elements in this pattern = no accesses of this type.
Implements sdfg::data_flow::MemoryAccessPattern.
|
inlineoverridevirtual |
Every element that is part of this pattern is actually accessed.
If false, this is just an approximation that may contain elements in between the bounds that are not guaranteed to be accessed Ex. indicating write of a[0] and a[9] as ConvexPattern(10) is approximate. Writes a[0], a[1], .. [9] would be every element being accessed. Bounds should never be violated regardless. We may in the future
Implements sdfg::data_flow::MemoryAccessPattern.
|
inlineoverridevirtual |
Implements sdfg::data_flow::MemoryAccessPattern.
|
inlineoverridevirtual |
Implements sdfg::data_flow::MemoryAccessPattern.
|
overridevirtual |
Implements sdfg::data_flow::MemoryAccessPattern.
|
inline |