Skip to content

Commit

Permalink
Merge pull request #393 from imaginationtech/fix_transfer_read_access
Browse files Browse the repository at this point in the history
Fix barrier in flag TestMultipleAlgoExecutions::SingleSequenceRecord
  • Loading branch information
axsaucedo authored Aug 28, 2024
2 parents 4712657 + 7366d09 commit 485fa5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TestMultipleAlgoExecutions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ TEST(TestMultipleAlgoExecutions, SingleSequenceRecord)
std::vector<uint32_t> spirv = compileSource(shader);

{
// A sharedMemoryBarrier is required as the shader is not thread-safe:w
// 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 485fa5a

Please sign in to comment.