Skip to content

Commit

Permalink
Updated issue in opalgolhs
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo committed Sep 19, 2020
1 parent 71a0b24 commit c1b9436
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion single_include/kompute/Kompute.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 4 additions & 1 deletion src/include/kompute/operations/OpAlgoLhsRhsOut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c1b9436

Please sign in to comment.