Skip to content

fix(dsl): expose static scalar values in constraints#408

Closed
Zhendong404 wants to merge 1 commit into
mouliangyu:feature-vpto-backendfrom
Zhendong404:fix-issue-397
Closed

fix(dsl): expose static scalar values in constraints#408
Zhendong404 wants to merge 1 commit into
mouliangyu:feature-vpto-backendfrom
Zhendong404:fix-issue-397

Conversation

@Zhendong404
Copy link
Copy Markdown
Collaborator

Summary

  • expose compile-time scalar constant values to TileLang constraint proxies via param.value
  • thread scalar values through ExpandTileOp operand-spec serialization, Python expand_helper context attrs, and constraint evaluation views
  • add regression coverage for descriptor selection and pto.select_kernel(...) scalar-value constraints

Validation

  • python3 -m pytest tilelang-dsl/tests/test_tilelang_dsl_v1.py -k 'test_select_descriptor_propagates_static_scalar_values_into_constraints or test_select_kernel_constraints_can_read_scalar_parameter_values or positional_context or materialization_constraints_can_see_specializations'
  • build/tools/ptoas/ptoas --version

Closes #397

@Zhendong404 Zhendong404 marked this pull request as ready for review May 25, 2026 08:33
@Zhendong404
Copy link
Copy Markdown
Collaborator Author

Included in PR #428

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.

[Feature] 约束系统支持访问vkernel scalar参数的常量值,以便根据indexCol对齐性选择模板路径

1 participant