Skip to content

[TLX] Add L2 cache hints to TMA async reduce operations#1023

Open
htyu wants to merge 2 commits intofacebookexperimental:mainfrom
htyu:export-D94952876
Open

[TLX] Add L2 cache hints to TMA async reduce operations#1023
htyu wants to merge 2 commits intofacebookexperimental:mainfrom
htyu:export-D94952876

Conversation

@htyu
Copy link
Contributor

@htyu htyu commented Mar 2, 2026

Summary:
Extend eviction policy support (evict_first/evict_last) to
AsyncTMAReduceOp, matching the existing support for TMA stores.
This allows controlling L2 cache behavior for TMA atomic reductions
via the eviction_policy parameter in tlx.async_descriptor_store
with store_reduce.

Differential Revision: D94952876

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 2, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 2, 2026

@htyu has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94952876.

@htyu htyu force-pushed the export-D94952876 branch from b7ea791 to 9a6e7f6 Compare March 2, 2026 22:38
Summary:
Extend eviction policy support (evict_first/evict_last) to
AsyncTMAReduceOp, matching the existing support for TMA stores.
This allows controlling L2 cache behavior for TMA atomic reductions
via the eviction_policy parameter in tlx.async_descriptor_store
with store_reduce.

Differential Revision: D94952876

 Date:      Mon Mar 2 13:40:34 2026 -0800
@htyu htyu force-pushed the export-D94952876 branch from 9a6e7f6 to 5264b29 Compare March 2, 2026 22:40
@htyu htyu requested review from dshi7, njriasan and pchen7e2 March 2, 2026 22:41
@meta-codesync
Copy link

meta-codesync bot commented Mar 2, 2026

@htyu has imported this pull request. If you are a Meta employee, you can view this in D94952876.

Copy link
Contributor

@njriasan njriasan left a comment

Choose a reason for hiding this comment

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

LGTM!

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

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants