Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue Class Reference
Inheritance diagram for exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue:
Collaboration diagram for exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue:

Public Member Functions

 __init__ (self, id, matrix)
 
 print_cpp (self, indent_level=0)
 
 print_omp (self, indent_level=0)
 
 print_sycl (self, indent_level=0)
 
 print_mlir (self, indent_level=0)
 
 print_tree (self, indent_level=0)
 
 get_type (self)
 
- Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Expression
 mlir_id (self, id=None)
 
 multidimensional_index (self, index_list, start_index=0, dimensions=[])
 
- Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node
 parent (self, parent=None)
 
 on_left (self, left=None)
 
 hoist (self, flag=None)
 
 get_mlir_id (cls)
 
 reset_mlir_ids (cls)
 
 create_memref_from_ptr (cls, ptr_id, target_type, indent_level=0, size_hint=None, target_var_name=None)
 
 create_memref_from_extracted_descriptor (cls, alloc_ptr_id, aligned_ptr_id, offset_id, sizes_0_id, sizes_1_id, strides_0_id, strides_1_id, target_type, struct_type, indent_level=0, target_var_name=None, is_2d=False)
 

Protected Attributes

 _id
 
 _matrix
 
 _memory_allocation
 
 _assignment
 
- Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Expression
 _mlir_id
 
- Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node
 _parent
 
 _on_left
 
 _hoist
 
 _index_type
 

Additional Inherited Members

- Static Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node
 get_mlir_type (type_string)
 
 generate_pointer_to_2d_element (memref_mlir, row_index, col_index, is_nested, indent_level=0)
 
- Data Fields inherited from exahype2.api.dslhype.SyntaxTree.Node
 mlir_id_count
 
- Static Public Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node
 output_format = None
 
int spaces_per_tab = 4
 
bool use_accelerator = False
 
bool use_memory_manager = False
 
int mlir_id_count = 0
 
dict type_map = {}
 
dict struct_map = {}
 
 context = Context()
 
 target_variable_name = None
 
dict mlir_symbol_table = {}
 
dict mlir_memref_types = {}
 
str descriptor2DType = "!llvm.struct<(ptr, ptr, i64, array<2 x i64>, array<2 x i64>)>"
 
str descriptor1DType = "!llvm.struct<(ptr, ptr, i64, array<1 x i64>, array<1 x i64>)>"
 
list patchTypes
 
 target_type = field_info.split('|||')[0]
 

Detailed Description

Definition at line 1887 of file SyntaxTree.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.__init__ (   self,
  id,
  matrix 
)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.

Definition at line 1888 of file SyntaxTree.py.

Member Function Documentation

◆ get_type()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.get_type (   self)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.

Definition at line 1918 of file SyntaxTree.py.

◆ print_cpp()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.print_cpp (   self,
  indent_level = 0 
)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.

Definition at line 1901 of file SyntaxTree.py.

◆ print_mlir()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.print_mlir (   self,
  indent_level = 0 
)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.

Definition at line 1912 of file SyntaxTree.py.

◆ print_omp()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.print_omp (   self,
  indent_level = 0 
)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.

Definition at line 1905 of file SyntaxTree.py.

◆ print_sycl()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.print_sycl (   self,
  indent_level = 0 
)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.

Definition at line 1909 of file SyntaxTree.py.

◆ print_tree()

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue.print_tree (   self,
  indent_level = 0 
)

Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.

Definition at line 1915 of file SyntaxTree.py.

Field Documentation

◆ _assignment

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue._assignment
protected

Definition at line 1897 of file SyntaxTree.py.

◆ _id

◆ _matrix

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue._matrix
protected

Definition at line 1891 of file SyntaxTree.py.

◆ _memory_allocation

exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue._memory_allocation
protected

Definition at line 1895 of file SyntaxTree.py.


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