Derived constexprs #1598
Answered
by
ptillet
davisyoshida
asked this question in
Q&A
Derived constexprs
#1598
-
Is it possible to create a new constexpr from an existing one? E.g. if I have a constant Is it necessary to just repeat the expression |
Beta Was this translation helpful? Give feedback.
Answered by
ptillet
May 1, 2023
Replies: 1 comment 2 replies
-
Yes. You need to annotate the variables with ': tl.constexpr' in the kennel |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
davisyoshida
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. You need to annotate the variables with ': tl.constexpr' in the kennel