Updated to use cpp raw literal strings

This commit is contained in:
Alejandro Saucedo 2020-09-05 08:15:52 +01:00
parent c15a14d2b2
commit 1449c858ee
8 changed files with 34 additions and 33 deletions

View file

@ -293,7 +293,7 @@ OpAlgoBase<tX, tY, tZ>::record()
if (this->mCopyOutputData) {
// Barrier to ensure the shader code is executed before buffer read
for (std::shared_ptr<Tensor> tensor : this->mTensors) {
for (const std::shared_ptr<Tensor>& tensor : this->mTensors) {
tensor->recordBufferMemoryBarrier(
vk::AccessFlagBits::eShaderWrite,
vk::AccessFlagBits::eTransferRead,