Commit 6ef993ef authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh

Minor fix in concrete node executor interface.

Devising the best way for syncing tensor operations in concrete
node executors: NodeExecHandleType = TensorHashType --> Unique id of a tensor.
parent b7e619b3
/** ExaTN:: Tensor Runtime: Tensor graph node executor: Exatensor
REVISION: 2019/08/15
REVISION: 2019/08/22
Copyright (C) 2018-2019 Dmitry Lyakh, Tiffany Mintz, Alex McCaskey
Copyright (C) 2018-2019 Oak Ridge National Laboratory (UT-Battelle)
......@@ -26,7 +26,7 @@ public:
NodeExecHandleType execute(numerics::TensorOpAdd & op) override;
NodeExecHandleType execute(numerics::TensorOpContract & op) override;
bool sync(NodeExecHandleType op_handle, bool wait) override;
bool sync(NodeExecHandleType op_handle, bool wait = false) override;
const std::string name() const override {return "exatensor-node-executor";}
const std::string description() const override {return "ExaTENSOR tensor graph node executor";}
......
/** ExaTN:: Tensor Runtime: Tensor graph node executor: Talsh
REVISION: 2019/08/15
REVISION: 2019/08/22
Copyright (C) 2018-2019 Dmitry Lyakh, Tiffany Mintz, Alex McCaskey
Copyright (C) 2018-2019 Oak Ridge National Laboratory (UT-Battelle)
......@@ -31,7 +31,7 @@ public:
NodeExecHandleType execute(numerics::TensorOpAdd & op) override;
NodeExecHandleType execute(numerics::TensorOpContract & op) override;
bool sync(NodeExecHandleType op_handle, bool wait) override;
bool sync(NodeExecHandleType op_handle, bool wait = false) override;
const std::string name() const override {return "talsh-node-executor";}
const std::string description() const override {return "TALSH tensor graph node executor";}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment