Updated issue in opalgolhs

This commit is contained in:
Alejandro Saucedo 2020-09-19 16:10:39 +01:00
parent 71a0b24e42
commit c1b9436b8c
2 changed files with 8 additions and 2 deletions

View file

@ -1464,7 +1464,10 @@ OpAlgoLhsRhsOut<tX, tY, tZ>::record()
vk::PipelineStageFlagBits::eComputeShader,
vk::PipelineStageFlagBits::eTransfer);
this->mTensorOutputStaging->recordCopyFrom(this->mTensorOutput, true);
this->mTensorOutputStaging->recordCopyFrom(
this->mCommandBuffer,
this->mTensorOutput,
true);
}
template<uint32_t tX, uint32_t tY, uint32_t tZ>

View file

@ -199,7 +199,10 @@ OpAlgoLhsRhsOut<tX, tY, tZ>::record()
vk::PipelineStageFlagBits::eComputeShader,
vk::PipelineStageFlagBits::eTransfer);
this->mTensorOutputStaging->recordCopyFrom(this->mTensorOutput, true);
this->mTensorOutputStaging->recordCopyFrom(
this->mCommandBuffer,
this->mTensorOutput,
true);
}
template<uint32_t tX, uint32_t tY, uint32_t tZ>