Reference Guide  2.5.0
psyclone.dynamo0p3.HaloWriteAccess Class Reference
Inheritance diagram for psyclone.dynamo0p3.HaloWriteAccess:
Collaboration diagram for psyclone.dynamo0p3.HaloWriteAccess:

Public Member Functions

def __init__ (self, field, sym_table)
 
def dirty_outer (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)
 

Detailed Description

Determines how much of a field's halo is written to (the halo depth)
when a field is accessed in a particular kernel within a
particular loop nest.

:param field: the field that we are concerned with.
:type field: :py:class:`psyclone.dynamo0p3.DynArgument`
: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 4640 of file dynamo0p3.py.

Member Function Documentation

◆ dirty_outer()

def psyclone.dynamo0p3.HaloWriteAccess.dirty_outer (   self)
Returns True if the writer is continuous and accesses the halo and
False otherwise. It indicates that the outer level of halo that has
been written to is actually dirty (well to be precise it is a partial
sum).

:returns: True if the outer layer of halo that is written \
          to remains dirty and False otherwise.
:rtype: bool

Definition at line 4657 of file dynamo0p3.py.

4657  def dirty_outer(self):
4658  '''Returns True if the writer is continuous and accesses the halo and
4659  False otherwise. It indicates that the outer level of halo that has
4660  been written to is actually dirty (well to be precise it is a partial
4661  sum).
4662 
4663  :returns: True if the outer layer of halo that is written \
4664  to remains dirty and False otherwise.
4665  :rtype: bool
4666 
4667  '''
4668  return self._dirty_outer
4669 

References psyclone.dynamo0p3.HaloWriteAccess._dirty_outer.


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