Skip to content

Refactor Event Semantics#1003

Open
ThomasHaas wants to merge 9 commits intodevelopmentfrom
refactorEventSemantics
Open

Refactor Event Semantics#1003
ThomasHaas wants to merge 9 commits intodevelopmentfrom
refactorEventSemantics

Conversation

@ThomasHaas
Copy link
Collaborator

@ThomasHaas ThomasHaas commented Mar 7, 2026

  • Removed Event.encodeExec and instead moved the encoding into ProgramEncoder.encodeEventSemantics.
  • ControlBarrier.execScope is now used in the encoding: the previous code always defaulted to Vulkan.WG/PTX.CTA irrespective of the specified execution scope.
  • CoreCodeVerification now checks that all ControlBarriers are placed correctly: the control barriers execution scope matches with the thread it is in.

EDIT

  • ThreadCreate cannot spuriously fail anymore. Instead, the inlining of pthread_create explicitly models the failure case via guessing.

@ThomasHaas ThomasHaas changed the title Refactor Event encoding Refactor Event Semantics Mar 8, 2026
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.

1 participant