Added functional optensorsyncDevice and optensorsynclocal

This commit is contained in:
Alejandro Saucedo 2020-09-06 15:51:31 +01:00
parent e6f4097acb
commit e68d09dbdc
15 changed files with 258 additions and 50 deletions

View file

@ -57,9 +57,15 @@ OpTensorCopy::record()
}
void
OpTensorCopy::postSubmit()
OpTensorCopy::preEval()
{
SPDLOG_DEBUG("Kompute OpTensorCopy postSubmit called");
SPDLOG_DEBUG("Kompute OpTensorCopy preEval called");
}
void
OpTensorCopy::postEval()
{
SPDLOG_DEBUG("Kompute OpTensorCopy postEval called");
// Copy the data from the first tensor into all the tensors
for (size_t i = 1; i < this->mTensors.size(); i++) {