Skip to content

Refactor Event Semantics#1003

Merged
hernanponcedeleon merged 8 commits intodevelopmentfrom
refactorEventSemantics
Mar 24, 2026
Merged

Refactor Event Semantics#1003
hernanponcedeleon merged 8 commits intodevelopmentfrom
refactorEventSemantics

Conversation

@ThomasHaas
Copy link
Copy Markdown
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
@ThomasHaas ThomasHaas force-pushed the refactorEventSemantics branch 2 times, most recently from 83a5a92 to 7133c90 Compare March 20, 2026 12:19
@ThomasHaas ThomasHaas force-pushed the refactorEventSemantics branch from 7133c90 to d7c698b Compare March 23, 2026 19:51
@hernanponcedeleon hernanponcedeleon enabled auto-merge (squash) March 24, 2026 08:33
@hernanponcedeleon hernanponcedeleon merged commit 51d754a into development Mar 24, 2026
7 checks passed
@hernanponcedeleon hernanponcedeleon deleted the refactorEventSemantics branch March 24, 2026 09:06
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.

2 participants