11 #ifndef EXATN_RUNTIME_EXATENSOR_NODE_EXECUTOR_HPP_
12 #define EXATN_RUNTIME_EXATENSOR_NODE_EXECUTOR_HPP_
14 #include "tensor_node_executor.hpp"
16 #include "talshxx.hpp"
35 TensorOpExecHandle * exec_handle)
override;
37 TensorOpExecHandle * exec_handle)
override;
39 TensorOpExecHandle * exec_handle)
override;
41 TensorOpExecHandle * exec_handle)
override;
43 TensorOpExecHandle * exec_handle)
override;
45 bool sync(TensorOpExecHandle op_handle,
47 bool wait =
false)
override;
50 const std::vector<std::pair<DimOffset,DimExtent>> & slice_spec)
override;
52 const std::string name()
const override {
return "exatensor-node-executor";}
53 const std::string description()
const override {
return "ExaTENSOR tensor graph node executor";}
54 std::shared_ptr<TensorNodeExecutor> clone()
override {
return std::make_shared<ExatensorNodeExecutor>();}
63 #endif //EXATN_RUNTIME_EXATENSOR_NODE_EXECUTOR_HPP_
Definition: tensor.hpp:63
std::shared_ptr< talsh::Tensor > getLocalTensor(const numerics::Tensor &tensor, const std::vector< std::pair< DimOffset, DimExtent >> &slice_spec) override
Definition: node_executor_exatensor.cpp:69
bool sync(TensorOpExecHandle op_handle, int *error_code, bool wait=false) override
Definition: node_executor_exatensor.cpp:59
Definition: DriverClient.hpp:10
Definition: tensor_op_add.hpp:21
Definition: tensor_op_destroy.hpp:21
void initialize() override
Definition: node_executor_exatensor.cpp:13
Definition: node_executor_exatensor.hpp:21
Definition: tensor_op_contract.hpp:22
Definition: tensor_op_create.hpp:21
Definition: tensor_node_executor.hpp:36
int execute(numerics::TensorOpCreate &op, TensorOpExecHandle *exec_handle) override
Definition: node_executor_exatensor.cpp:19