Skip to content

[BugFix][Vulkan][CodeGen] Change OpControlBarrier to AcquireRelease#19608

Closed
kistenklaus wants to merge 1 commit into
apache:mainfrom
kistenklaus:main
Closed

[BugFix][Vulkan][CodeGen] Change OpControlBarrier to AcquireRelease#19608
kistenklaus wants to merge 1 commit into
apache:mainfrom
kistenklaus:main

Conversation

@kistenklaus
Copy link
Copy Markdown
Contributor

@kistenklaus kistenklaus commented May 25, 2026

Fixes #18915

Vulkan codegen previously generated sequentially constistant OpControlBarrier SPIR-V instructions, which is invalid for Vulkan, where we would expect AcquireRelease.

Fixes #18915
May be related to #3487

Vulkan codegen previously generated sequentially constistant
OpControlBarrier SPIR-V instructions, which is invalid for
Vulkan, where we would expect AcquireRelease.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Vulkan SPIR-V code generator to use spv::MemorySemanticsAcquireReleaseMask instead of spv::MemorySemanticsSequentiallyConsistentMask for memory semantics during storage synchronization. There are no review comments to address, and I have no additional feedback to provide.

@kistenklaus kistenklaus changed the title [BugFix][Vulkan][CodeGen] Change OpControlBarrier to AcquireRelease. [BugFix][Vulkan][CodeGen] Change OpControlBarrier to AcquireRelease May 26, 2026
@tqchen
Copy link
Copy Markdown
Member

tqchen commented May 26, 2026

@tvm-bot rerun

@tqchen
Copy link
Copy Markdown
Member

tqchen commented May 26, 2026

seems some ci issue, would be good to reopen a new pr with the same change to land it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Vulkan] SPIR-V backend generates sequentially consistant OpControlBarriers and OpMemberDecorate DecorationOffset on non-interface blocks

2 participants