Skip to content
Snippets Groups Projects

Refactor Field Modelling

Merged Frederik Hennig requested to merge fhennig/field-buffers into v2.0-dev
Viewing commit 5157ca73
Show latest version
3 files
+ 72
13
Preferences
Compare changes
Files
3
@@ -30,7 +30,7 @@ The IR comprises *symbols*, *constants*, *arrays*, the *iteration space* and the
@@ -30,7 +30,7 @@ The IR comprises *symbols*, *constants*, *arrays*, the *iteration space* and the
* `PsSymbol` represents a single symbol in the kernel, annotated with a type. Other than in the frontend,
* `PsSymbol` represents a single symbol in the kernel, annotated with a type. Other than in the frontend,
uniqueness of symbols is enforced by the backend: of each symbol, at most one instance may exist.
uniqueness of symbols is enforced by the backend: of each symbol, at most one instance may exist.
* `PsConstant` provides a type-safe representation of constants.
* `PsConstant` provides a type-safe representation of constants.
* `PsLinearizedArray` is the backend counterpart to the ubiquitous `Field`, representing a contiguous
* `PsBuffer` is the backend counterpart to the ubiquitous `Field`, representing a contiguous
n-dimensional array.
n-dimensional array.
These arrays do not occur directly in the IR, but are represented through their *associated symbols*,
These arrays do not occur directly in the IR, but are represented through their *associated symbols*,
which are base pointers, shapes, and strides.
which are base pointers, shapes, and strides.