Reference Guide
2.5.0
|
Public Member Functions | |
def | __init__ (self, field, sym_table) |
def | needs_clean_outer (self) |
def | stencil_type (self) |
Public Member Functions inherited from psyclone.dynamo0p3.HaloDepth | |
def | __init__ (self, sym_table) |
def | annexed_only (self) |
def | max_depth (self) |
def | max_depth_m1 (self) |
def | var_depth (self) |
def | literal_depth (self) |
def | literal_depth (self, value) |
def | set_by_value (self, max_depth, var_depth, literal_depth, annexed_only, max_depth_m1) |
def | __str__ (self) |
def | psyir_expression (self) |
Determines how much of a field's halo is read (the halo depth) and additionally the access pattern (the stencil) when a field is accessed in a particular kernel within a particular loop nest. :param field: the field for which we want information. :type field: :py:class:`psyclone.dynamo0p3.DynKernelArgument` :param sym_table: the symbol table associated with the scoping region \ that contains this halo access. :type sym_table: :py:class:`psyclone.psyir.symbols.SymbolTable`
Definition at line 4722 of file dynamo0p3.py.
def psyclone.dynamo0p3.HaloReadAccess.needs_clean_outer | ( | self | ) |
Returns False if the reader has a gh_inc access and accesses the halo. Otherwise returns True. Indicates that the outer level of halo that has been read does not need to be clean (although any annexed dofs do). :return: Returns False if the outer layer of halo that is read \ does not need to be clean and True otherwise. :rtype: bool
Definition at line 4741 of file dynamo0p3.py.
References psyclone.dynamo0p3.HaloReadAccess._needs_clean_outer.
def psyclone.dynamo0p3.HaloReadAccess.stencil_type | ( | self | ) |
Returns the type of stencil access used by the field(s) in the halo if one exists. If redundant computation (accessing the full halo) is combined with a stencil access (potentially accessing a subset of the halo) then the access is assumed to be full access (region) for all depths. :returns: the type of stencil access used or None if there is no \ stencil. :rtype: str
Definition at line 4755 of file dynamo0p3.py.
References psyclone.dynamo0p3.HaloDepth._annexed_only, psyclone.dynamo0p3.HaloReadAccess._annexed_only, psyclone.dynamo0p3.HaloDepth._literal_depth, psyclone.dynamo0p3.HaloReadAccess._literal_depth, psyclone.dynamo0p3.HaloDepth._max_depth, psyclone.dynamo0p3.HaloReadAccess._max_depth, psyclone.dynamo0p3.HaloReadAccess._needs_clean_outer, psyclone.dynamo0p3.HaloReadAccess._stencil_type, psyclone.dynamo0p3.HaloDepth._var_depth, and psyclone.dynamo0p3.HaloReadAccess._var_depth.