mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-13 09:45:56 +00:00
Tile on the C dimensions to support large C
This commit is contained in:
@@ -55,3 +55,15 @@ TYPED_TEST(TestCkTileMHC, TestBatchSize16N2C128) { this->template RunBatchSizeTe
|
||||
TYPED_TEST(TestCkTileMHC, TestBatchSize32N3C85) { this->template RunBatchSizeTest<32, 3, 85>(); }
|
||||
|
||||
TYPED_TEST(TestCkTileMHC, TestBatchSize8N8C32) { this->template RunBatchSizeTest<8, 8, 32>(); }
|
||||
|
||||
// Test with large C values that require K-tiling (nC > 256)
|
||||
TYPED_TEST(TestCkTileMHC, TestBatchSize2N4C512) { this->template RunBatchSizeTest<2, 4, 512>(); }
|
||||
|
||||
TYPED_TEST(TestCkTileMHC, TestBatchSize2N4C1024) { this->template RunBatchSizeTest<2, 4, 1024>(); }
|
||||
|
||||
TYPED_TEST(TestCkTileMHC, TestBatchSize2N4C4096) { this->template RunBatchSizeTest<2, 4, 4096>(); }
|
||||
|
||||
TYPED_TEST(TestCkTileMHC, TestBatchSize16N4C4096)
|
||||
{
|
||||
this->template RunBatchSizeTest<16, 4, 4096>();
|
||||
}
|
||||
|
||||
@@ -319,7 +319,8 @@ class TestCkTileMHC : public ::testing::Test
|
||||
const ck_tile::index_t kGridSize = (output_dim + 15) / 16;
|
||||
constexpr ck_tile::index_t kBlockPerCu = 1;
|
||||
|
||||
const float r = 1.0f, alpha_pre = 1.0f, alpha_post = 1.0f, alpha_res = 1.0f, bias = 0.0f;
|
||||
// const float r = 1.0f, alpha_pre = 1.0f, alpha_post = 1.0f, alpha_res = 1.0f, bias = 0.0f;
|
||||
const float r = 2.0f, alpha_pre = 1.5f, alpha_post = 2.5f, alpha_res = 3.5f, bias = 1.5f;
|
||||
|
||||
// Launch kernel (B, n, C are now template parameters, not runtime)
|
||||
ck_tile::launch_kernel(
|
||||
|
||||
Reference in New Issue
Block a user