TimeloopFE
Loading...
Searching...
No Matches
timeloopfe.v4.processors.required_actions.RequiredActionsProcessor Class Reference

Ensures that all components have actions defined for Accelergy Storage: More...

Inheritance diagram for timeloopfe.v4.processors.required_actions.RequiredActionsProcessor:
Collaboration diagram for timeloopfe.v4.processors.required_actions.RequiredActionsProcessor:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 check_storage (self, Storage elem)
 
 check_compute (self, Component elem)
 
 process (self, Specification spec)
 Process the specification.
 
- Public Member Functions inherited from timeloopfe.common.processor.Processor
 pre_parse_process (self, "Specification" spec)
 Process the specification before parsing.
 
 declare_attrs (self)
 Initialize the attributes that the processor is responsible for.
 
 get_index (self, type processor_type, "Specification" spec)
 Get the index of the processor in the list of processors.
 
 must_run_after (self, type other, "Specification" spec, bool ok_if_not_found=False)
 Ensure that this processor runs after another processor.
 
 add_attr (self, Node target, *args, **kwargs)
 

Additional Inherited Members

- Public Attributes inherited from timeloopfe.common.processor.Processor
 logger = logging.getLogger(self.__class__.__name__)
 
 spec = spec
 
- Protected Attributes inherited from timeloopfe.common.processor.Processor
bool _initialized = True
 

Detailed Description

Ensures that all components have actions defined for Accelergy Storage:

  • read
  • write
  • update

- metadata_update

DEPRECATED. NOW ALL OF THE FOLLOWING ARE NOT REQUIRED. Deprecated because: Skipped/gated actions can just be no action decompression_count/compression_count is not supported in many of the plug-ins that Sparseloop uses

Storage if metadata attributes are present:

- metadata_read

- metadata_write

Storage if sparse optimization is enabled:

- gated_read

- gated_write

- gated_update

- skipped_read

- skipped_write

- skipped_update

- decompression_count

- compression_count

Storage if sparse and metadata are enabled:

- gated_metadata_read

- skipped_metadata_read

- gated_metadata_write

- skipped_metadata_write

- gated_metadata_write

- skipped_metadata_write

Compute:

- compute

Compute if sparse optimization is enabled:

- gated_compute

- skipped_compute

Constructor & Destructor Documentation

◆ __init__()

timeloopfe.v4.processors.required_actions.RequiredActionsProcessor.__init__ ( self,
* args,
** kwargs )

Member Function Documentation

◆ check_compute()

timeloopfe.v4.processors.required_actions.RequiredActionsProcessor.check_compute ( self,
Component elem )

◆ check_storage()

timeloopfe.v4.processors.required_actions.RequiredActionsProcessor.check_storage ( self,
Storage elem )

◆ process()

timeloopfe.v4.processors.required_actions.RequiredActionsProcessor.process ( self,
Specification spec )

Process the specification.

Reimplemented from timeloopfe.common.processor.Processor.


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