Brick Library 0.1
Performance-portable stencil datalayout & codegen
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
st.codegen.backend.base.Brick Class Reference
Inheritance diagram for st.codegen.backend.base.Brick:
[legend]

Public Member Functions

def __init__ (self, *fold=None, dim=None, prec=1, brick_idx="b", cstruct=False)
 
def setCodeGen (self, codegen)
 
def setBackend (self, backend)
 
def prologue (self, CodeBlock toplevel)
 
def neighbor (self, List[int] offset)
 
def neighbor_idx_cstruct (self, binfo, bidx, List[int] neighbor)
 
def neighbor_idx (self, binfo, bidx, List[int] neighbor)
 
def neighbor_val (self, List[int] offset)
 
def vecstart (self, Grid grid, List[int] offset, rel=None)
 
def checkConfig (self)
 
def elem (self, Grid grid, List[int] offset, rel=None)
 

Public Attributes

 backend
 
 codegen
 
 fold
 
 dim
 
 prec
 
 BRICK_IDX
 
 cstruct
 

Constructor & Destructor Documentation

◆ __init__()

def st.codegen.backend.base.Brick.__init__ (   self,
fold = None,
  dim = None,
  prec = 1,
  brick_idx = "b",
  cstruct = False 
)

Reimplemented in st.codegen.backend.base.Tiled.

Member Function Documentation

◆ checkConfig()

def st.codegen.backend.base.Brick.checkConfig (   self)

Reimplemented in st.codegen.backend.base.Tiled.

◆ elem()

def st.codegen.backend.base.Brick.elem (   self,
Grid  grid,
List[int]  offset,
  rel = None 
)

Reimplemented in st.codegen.backend.base.Tiled.

Here is the call graph for this function:

◆ neighbor()

def st.codegen.backend.base.Brick.neighbor (   self,
List[int]  offset 
)
Here is the call graph for this function:

◆ neighbor_idx()

def st.codegen.backend.base.Brick.neighbor_idx (   self,
  binfo,
  bidx,
List[int]  neighbor 
)
Here is the call graph for this function:

◆ neighbor_idx_cstruct()

def st.codegen.backend.base.Brick.neighbor_idx_cstruct (   self,
  binfo,
  bidx,
List[int]  neighbor 
)
Here is the call graph for this function:

◆ neighbor_val()

def st.codegen.backend.base.Brick.neighbor_val (   self,
List[int]  offset 
)

◆ prologue()

def st.codegen.backend.base.Brick.prologue (   self,
CodeBlock  toplevel 
)

Reimplemented in st.codegen.backend.base.Tiled.

Here is the call graph for this function:

◆ setBackend()

def st.codegen.backend.base.Brick.setBackend (   self,
  backend 
)

Reimplemented in st.codegen.backend.base.Tiled.

◆ setCodeGen()

def st.codegen.backend.base.Brick.setCodeGen (   self,
  codegen 
)

Reimplemented in st.codegen.backend.base.Tiled.

◆ vecstart()

def st.codegen.backend.base.Brick.vecstart (   self,
Grid  grid,
List[int]  offset,
  rel = None 
)
Here is the call graph for this function:

Member Data Documentation

◆ backend

st.codegen.backend.base.Brick.backend

◆ BRICK_IDX

st.codegen.backend.base.Brick.BRICK_IDX

◆ codegen

st.codegen.backend.base.Brick.codegen

◆ cstruct

st.codegen.backend.base.Brick.cstruct

◆ dim

st.codegen.backend.base.Brick.dim

◆ fold

st.codegen.backend.base.Brick.fold

◆ prec

st.codegen.backend.base.Brick.prec

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