cutlass icon indicating copy to clipboard operation
cutlass copied to clipboard

Use Compile-Time Constexpr If

Open leimao opened this issue 11 months ago • 4 comments

This runtime if can be removed at compile-time.

leimao avatar Jan 09 '25 17:01 leimao

If size<2>(tCrA) is known at compile-time, this will already be elided by the compiler.

The only thing this does is require that it is known at compile-time, which may be attractive but is certainly overly restrictive.

ccecka avatar Jan 09 '25 17:01 ccecka

@leimao, is this fixing a failure you were seeing? If so, please elaborate. If not, the recommendation would be to allow the compiler to do its thing with the code as-is which is slightly more flexible.

d-k-b avatar Feb 07 '25 16:02 d-k-b

This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] avatar Mar 09 '25 17:03 github-actions[bot]

This PR has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates.

github-actions[bot] avatar Jun 07 '25 17:06 github-actions[bot]