psyclone.domain.gocean
Module for the GOcean domain.
Submodules
psyclone.domain.gocean.go_symbol_table
psyclone.domain.gocean.gocean_constants
psyclone.domain.gocean.kernel
- Submodules
psyclone.domain.gocean.kernel.psyir
- Classes
GOceanContainer
GOceanKernelMetadata
GOceanKernelMetadata.FieldArg
GOceanKernelMetadata.GridArg
GOceanKernelMetadata.ScalarArg
GOceanKernelMetadata.create_from_fortran_string()
GOceanKernelMetadata.create_from_psyir()
GOceanKernelMetadata.fortran_string()
GOceanKernelMetadata.index_offset
GOceanKernelMetadata.iterates_over
GOceanKernelMetadata.lower_to_psyir()
GOceanKernelMetadata.meta_args
GOceanKernelMetadata.name
GOceanKernelMetadata.procedure_name
- Classes
- Classes
GOceanKernelMetadata
GOceanKernelMetadata.FieldArg
GOceanKernelMetadata.GridArg
GOceanKernelMetadata.ScalarArg
GOceanKernelMetadata.create_from_fortran_string()
GOceanKernelMetadata.create_from_psyir()
GOceanKernelMetadata.fortran_string()
GOceanKernelMetadata.index_offset
GOceanKernelMetadata.iterates_over
GOceanKernelMetadata.lower_to_psyir()
GOceanKernelMetadata.meta_args
GOceanKernelMetadata.name
GOceanKernelMetadata.procedure_name
- Submodules
psyclone.domain.gocean.transformations
- Submodules
psyclone.domain.gocean.transformations.gocean_alg_invoke_2_psy_call_trans
psyclone.domain.gocean.transformations.gocean_const_loop_bounds_trans
psyclone.domain.gocean.transformations.gocean_extract_trans
psyclone.domain.gocean.transformations.gocean_loop_fuse_trans
psyclone.domain.gocean.transformations.gocean_move_iteration_boundaries_inside_kernel_trans
psyclone.domain.gocean.transformations.gocean_opencl_trans
psyclone.domain.gocean.transformations.raise_psyir_2_gocean_kern_trans
- Submodules
Classes
GOceanConstants
: This class stores all GOcean constants. It stores all values inGOSymbolTable
: Sub-classes SymbolTable to provide a GOcean-specific implementation.
- class psyclone.domain.gocean.GOceanConstants
This class stores all GOcean constants. It stores all values in class variables (to avoid re-evaluating them).
Inheritance
- static get_valid_access_types()
Return the valid access types for the GOcean API. Reads the values from the config file the first time the method is called.
- Returns:
valid access types for the GOcean API.
- Return type:
list[str]
- class psyclone.domain.gocean.GOSymbolTable(node=None, default_visibility=Visibility.PUBLIC)
Sub-classes SymbolTable to provide a GOcean-specific implementation.
Inheritance
- static create_from_table(old_table)
Create a GOSymbolTable instance from the supplied SymbolTable.
- Parameters:
old_table (
psyclone.psyir.symbols.SymbolTable
) – the generic SymbolTable from which to create a new GOSymbolTable.- Returns:
a new GOSymbolTable containing all of the symbols in the supplied table.
- Return type:
psyclone.gocean1p0.GOSymbolTable
- Raises:
TypeError – if the supplied argument is not a SymbolTable.
- property data_arguments
In the GOcean API the data arguments start from the third item in the argument list.
- Returns:
the symbols representing the data arguments.
- Return type:
- property iteration_indices
In the GOcean API the two first kernel arguments are the iteration indices.
- Returns:
the symbols representing the iteration indices.
- Return type: