Skip to content

[Feature] Explicit constant expression (constexpr) #466

@chhzh123

Description

@chhzh123

Is your feature request related to a problem? Please describe.
Currently, we only have stream indices and meta_if/else conditions to be evaluated as compile-time constants.
However, sometimes we may also want to specify other constants to be folded at compile time.

Describe the solution you'd like
We need some similar structures in Allo. Refer to C++ constexpr and cutlass.Constexpr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions