Skip to content

Add alias-aware token threading for memory operations.#89

Open
shreyas-omkar wants to merge 1 commit intoJuliaGPU:mainfrom
shreyas-omkar:main
Open

Add alias-aware token threading for memory operations.#89
shreyas-omkar wants to merge 1 commit intoJuliaGPU:mainfrom
shreyas-omkar:main

Conversation

@shreyas-omkar
Copy link

@shreyas-omkar shreyas-omkar commented Feb 18, 2026

Feat #1

Introduce alias analysis based token threading:

  • Group pointers into alias sets.
  • Maintain per-alias-set token chains.
  • Thread tokens only between potentially aliasing operations.
  • Conservatively fall back to the global set for unknown pointers.
  • Preserve existing control flow token merging semantics.

Enables independent memory operations to execute without unnecessary serialization.

@shreyas-omkar shreyas-omkar marked this pull request as draft February 18, 2026 11:19
@shreyas-omkar shreyas-omkar force-pushed the main branch 2 times, most recently from 69e7601 to 432cec3 Compare February 19, 2026 19:53
Copy link
Member

@maleadt maleadt left a comment

Choose a reason for hiding this comment

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

Did you test this with a concrete example that would benefit from it?

@shreyas-omkar shreyas-omkar force-pushed the main branch 3 times, most recently from 471a55e to ba4f9a7 Compare March 16, 2026 20:13
 Introduce alias analysis based token threading:

- Group pointers into alias sets.
- Maintain per-alias-set token chains.
- Thread tokens only between potentially aliasing operations.
- Conservatively fall back to the global set for unknown pointers.
- Preserve existing control-flow token merging semantics.

Enables independent memory operations to execute without unnecessary
serialization.
@shreyas-omkar shreyas-omkar marked this pull request as ready for review March 21, 2026 14:12
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