ExaTN
src
runtime
executor
graph_executors
eager
graph_executor_eager.hpp
1
11
#ifndef EXATN_RUNTIME_EAGER_GRAPH_EXECUTOR_HPP_
12
#define EXATN_RUNTIME_EAGER_GRAPH_EXECUTOR_HPP_
13
14
#include "tensor_graph_executor.hpp"
15
16
namespace
exatn
{
17
namespace
runtime {
18
19
class
EagerGraphExecutor
:
public
TensorGraphExecutor
{
20
21
public
:
22
23
virtual
~
EagerGraphExecutor
() =
default
;
24
26
void
execute
(
TensorGraph
& dag)
override
;
27
28
const
std::string name()
const override
{
return
"eager-dag-executor"
;}
29
const
std::string description()
const override
{
return
"Eager tensor graph executor"
;}
30
std::shared_ptr<TensorGraphExecutor>
clone
()
override
{
return
std::make_shared<EagerGraphExecutor>();}
31
};
32
33
}
//namespace runtime
34
}
//namespace exatn
35
36
#endif //EXATN_RUNTIME_EAGER_GRAPH_EXECUTOR_HPP_
exatn::runtime::EagerGraphExecutor::execute
void execute(TensorGraph &dag) override
Definition:
graph_executor_eager.cpp:17
exatn::runtime::EagerGraphExecutor
Definition:
graph_executor_eager.hpp:19
exatn
Definition:
DriverClient.hpp:10
exatn::runtime::EagerGraphExecutor::clone
std::shared_ptr< TensorGraphExecutor > clone() override
Definition:
graph_executor_eager.hpp:30
exatn::runtime::TensorGraphExecutor
Definition:
tensor_graph_executor.hpp:34
exatn::runtime::TensorGraph
Definition:
tensor_graph.hpp:139
Generated by
1.8.16