ExaTN
Public Member Functions | List of all members
exatn::runtime::EagerGraphExecutor Class Reference
Inheritance diagram for exatn::runtime::EagerGraphExecutor:
exatn::runtime::TensorGraphExecutor exatn::Identifiable exatn::Cloneable< TensorGraphExecutor >

Public Member Functions

void execute (TensorGraph &dag) override
 
const std::string name () const override
 
const std::string description () const override
 
std::shared_ptr< TensorGraphExecutorclone () override
 
- Public Member Functions inherited from exatn::runtime::TensorGraphExecutor
 TensorGraphExecutor (const TensorGraphExecutor &)=delete
 
TensorGraphExecutoroperator= (const TensorGraphExecutor &)=delete
 
 TensorGraphExecutor (TensorGraphExecutor &&) noexcept=delete
 
TensorGraphExecutoroperator= (TensorGraphExecutor &&) noexcept=delete
 
void resetNodeExecutor (std::shared_ptr< TensorNodeExecutor > node_executor)
 
void resetLoggingLevel (int level=0)
 
std::shared_ptr< talsh::Tensor > getLocalTensor (const numerics::Tensor &tensor, const std::vector< std::pair< DimOffset, DimExtent >> &slice_spec)
 
void stopExecution ()
 
- Public Member Functions inherited from exatn::Cloneable< TensorGraphExecutor >
virtual ~Cloneable ()
 

Additional Inherited Members

- Protected Attributes inherited from exatn::runtime::TensorGraphExecutor
std::shared_ptr< TensorNodeExecutornode_executor_
 
std::ofstream logfile_
 
std::atomic< int > logging_
 
std::atomic< bool > stopping_
 
std::atomic< bool > active_
 

Member Function Documentation

◆ clone()

std::shared_ptr<TensorGraphExecutor> exatn::runtime::EagerGraphExecutor::clone ( )
inlineoverridevirtual

Factory method

Implements exatn::runtime::TensorGraphExecutor.

◆ execute()

void exatn::runtime::EagerGraphExecutor::execute ( TensorGraph dag)
overridevirtual

Traverses the DAG and executes all its nodes.

Implements exatn::runtime::TensorGraphExecutor.


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