default skip y point to r (#2457)

Co-authored-by: Thomas Ning <Thomas.Ning@amd.com>

[ROCm/composable_kernel commit: 0aecb5ab68]
This commit is contained in:
carlushuang
2025-07-07 14:54:34 +08:00
committed by GitHub
parent 4ed061c05d
commit 8e15d99ddc
2 changed files with 11 additions and 0 deletions

View File

@@ -263,3 +263,9 @@
#ifndef CK_TILE_WA_ISSUE_2028
#define CK_TILE_WA_ISSUE_2028 0
#endif
// Y pointed to R, we don't see a valuable use case.
// Will enforce encoding to check Y not pointed to R if set to zero
#ifndef CK_TILE_ENC_SUPPORT_Y_TO_R
#define CK_TILE_ENC_SUPPORT_Y_TO_R 0
#endif

View File

@@ -47,6 +47,11 @@ struct tile_distribution_encoding
static constexpr auto ys_to_rhs_major_ = Ys2RHsMajor{};
static constexpr auto ys_to_rhs_minor_ = Ys2RHsMinor{};
#if !CK_TILE_ENC_SUPPORT_Y_TO_R
static_assert(container_find(ys_to_rhs_major_, 0) == NDimY,
"do not support Y dim pointed to R dim");
#endif
// redundant but useful info
// TODO: really bad code, should be over-hauled
struct detail