Skip to content

Commit

Permalink
Merge branch 'master' into images_only
Browse files Browse the repository at this point in the history
  • Loading branch information
robquill committed Aug 29, 2024
2 parents 283bc3a + 9d84c6f commit 08e73b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Sequence::createCommandPool()

this->mFreeCommandPool = true;

vk::CommandPoolCreateInfo commandPoolInfo(vk::CommandPoolCreateFlags(),
vk::CommandPoolCreateInfo commandPoolInfo(vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
this->mQueueIndex);
this->mCommandPool = std::make_shared<vk::CommandPool>();
this->mDevice->createCommandPool(
Expand Down
2 changes: 1 addition & 1 deletion test/TestMultipleAlgoExecutions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ TEST(TestMultipleAlgoExecutions, SingleSequenceRecord)
// A sharedMemoryBarrier is required as the shader is not thread-safe
std::shared_ptr<kp::OpMemoryBarrier> shaderBarrier{
new kp::OpMemoryBarrier({ tensorA },
vk::AccessFlagBits::eTransferRead,
vk::AccessFlagBits::eShaderRead,
vk::AccessFlagBits::eShaderWrite,
vk::PipelineStageFlagBits::eComputeShader,
vk::PipelineStageFlagBits::eComputeShader)
Expand Down

0 comments on commit 08e73b9

Please sign in to comment.