Skip to content

[TIRx][CUDA] Configure kernel constraints with CUDA leaf ops - #20565

Merged
tqchen merged 1 commit into
apache:mainfrom
tqchen:cuda-kernel-constraint-leaf-ops
Oct 6, 2026
Merged

tqchen merged 1 commit into
apache:mainfrom
tqchen:cuda-kernel-constraint-leaf-ops

Conversation

@tqchen

@tqchen tqchen commented Oct 6, 2026

Copy link
Copy Markdown
Member

Represent minimum blocks per SM, maximum blocks per cluster, per-thread register limits, and required block/cluster dimensions as CUDA-owned leaf declarations. Preserve the declarations through lowering and collect their settings during body generation before emitting matching forward and definition signatures.

Recognize required block dimensions directly when collecting host launch metadata.

@tqchen
tqchen force-pushed the cuda-kernel-constraint-leaf-ops branch from 50e670f to c06fcb8 Compare October 6, 2026 16:30
@tqchen
tqchen merged commit 7e27712 into apache:main Oct 6, 2026
8 checks passed
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