Commit Graph

3949 Commits

Author SHA1 Message Date
Enrico Degregori
b0c0571809 Fix multi-abd tests bug (#3099)
[ROCm/composable_kernel commit: 06973b1cf4]
2025-10-27 08:09:02 -07:00
andrew clark
66310cc5bf Jenkins Alerts Notifications (#3086)
* Testing minimal pipeline

* Update Jenkinsfile

* Testing webhook

* Testing webhook

* Testing webhook

* Testing build log output

* Testing log retrieval

* Testing

* Testing pattern matching

* Fixing regex

* Testing error detection

* Testing log formatting

Including additional context around log failure.

* Testing notification message format

* Update Jenkinsfile

* Notification formatting

* Testing secure interpolation

* Testing string interpolation

* Notification format

* Fixing markdown

* Testing markdown

* Testing markdown

* Revert "Testing markdown"

This reverts commit adeb6d2d55.

* Testing different markdown format

* Revert "Testing different markdown format"

This reverts commit bf5406a1cd.

* Testing markdown

* Testing markdown

* Testing markdown

* Testing markdown

* Testing markdown

* Testing notification

* Testing notification

* Testing notification

* Testing failure mode

* Testing failure mode

* Adding new patterns and tests

* Commenting

* Stage name fix

* Moving to notification on failure only

* Fixing notification format

* Testing env vars

* Testing build url redirect

* Testing no log errors

* Testing no errors case

* Integrating into primary jenkinsfile

* Updating notification message

Removed emoji from message

[ROCm/composable_kernel commit: a1ce64374f]
2025-10-27 08:24:36 -06:00
Thrupti Raj Lakshmana Gowda
20ef4380d7 Ck tile engine preshuffle (#2919)
* Partial Progress : Preshuffle working code for datatype

* Partial Progress : Preshuffle Cleanup

* Working code for default config with min max step

* Partial Progress : PermuteN implemented in validation

* Partial Progress : PermuteN changes in Preshuffle

* CK Tile Engine Preshuffle Complete

* CK TILE ENGINE : Preshuffle Layout validation

* CK Tile Engine Preshuffle Validation

* Preshuffle Validation check

* CK Tile Engine Preshuffle : Fixing Validation Cases

* Addressing PR review Comments

* Changes in config

* Addressing Review Comments

* Adding additional architecture in Jenkins

* Partial Progress : Selective Datatype and layouts

* Limited datatypes and layouts

* Addressing CI errors

* Datatype updates

* Datatype updates

* Datatype changes to Preshuffle

* Addressing Review Comments

* Addressing Review Comments

* Datatype changes

* Changes to Cmake

* Update on Jenkins

* Formatting with precommit

* Ruff Formatting

[ROCm/composable_kernel commit: 8b185e872e]
2025-10-27 09:15:34 -05:00
assistant-librarian[bot]
c29228adcf Merge commit '6d709dac41409a339b82a83ea59e03fbb37c7005' into develop 2025-10-25 15:11:17 +00:00
John Shumway
a3261e87a3 [CK Builder] Add missing tf32 type to reflection. (#3090)
We need to check all the architectures for build errors. This missing tf32 type came up as a build failure when I compiled for different instinct architectures.

[ROCm/composable_kernel commit: 6d709dac41]
2025-10-25 07:28:12 -07:00
Adam Osewski
75a0f41bb0 [CK_Builder] Add name member to unary elementwise ops & update builder traits. (#3093)
* Add name member to unary elementwise ops.

* Update elementwise_op_name to check for name attribute.

* Require that the layout is derived from BaseTensorLayout struct.

[ROCm/composable_kernel commit: f53d857b25]
2025-10-25 07:27:03 -07:00
kabrahamAMD
93a92cf2da [CK_BUILDER] Add inline string diff for tests (#3067)
Adds new testing functionality: an inline diff for string comparison.

Example usage:

EXPECT_THAT("Actual string", ck_tile::test::StringEqWithDiff("Expected string"));

Failure message:

Value of: "Actual string"
Expected: "Expected string"
Actual: "Actual string" (of type char [14]),
Diff: "[Expe|A]ct[ed|ual] string"

The inline-diff function uses the Wagner-Fischer algorithm to find the minimum edit distance and generate diff markers, which has O(N^2) complexity. It has optional color codes that are enabled with the matcher.

[ROCm/composable_kernel commit: e576992dca]
2025-10-25 07:22:41 -07:00
assistant-librarian[bot]
4494721174 Merge commit '86d542f663201d7923c56cd8e31d46e01c4dcfcf' into develop 2025-10-24 20:13:08 +00:00
Max Podkorytov
26c4304c84 [CK-Tile][Async gemm] add missing sync and f8 inputs test cases (#3000)
* add missing sync and f8 test cases

* reformat test cases

* comment failing cases

* bump

* reintroduce compv4 shapes

[ROCm/composable_kernel commit: 86d542f663]
2025-10-24 12:16:01 -07:00
assistant-librarian[bot]
e7707c32d1 Merge commit '05843995715ee1e83e95906654a8210e1450b83d' into develop 2025-10-24 18:15:08 +00:00
Khushbu Agarwal
eef9513fd3 [CK_TILE] Adding support for TiledPermuteN on preshuffle Block Scale Gemm (#3019)
* Adding support for TiledPermuteN

* Adding test

* resolving remod.py

---------

Co-authored-by: root <root@banff-cyxtera-s73-2.ctr.dcgpu>

[ROCm/composable_kernel commit: 0584399571]
2025-10-24 11:06:51 -07:00
assistant-librarian[bot]
0d4c6c2c13 Merge commit 'f39626fcf72d0188946040fe6441437415707343' into develop 2025-10-24 16:13:23 +00:00
Max Podkorytov
a1681b077e [CK][host] limit the rotating count to prevent oom (#3089)
* [CK][host] limit the rotating count to prevent oom

* add numeric header for accumulate

[ROCm/composable_kernel commit: f39626fcf7]
2025-10-24 08:55:54 -07:00
Max Podkorytov
77fc1e4c3f limit the rotating count to prevent oom (#3087)
[ROCm/composable_kernel commit: fdcc1f75c3]
2025-10-24 08:55:34 -07:00
assistant-librarian[bot]
2550111808 Merge commit '775b96ea6a8bb0d82d635dc1a396c8d98091c832' into develop 2025-10-24 15:12:08 +00:00
andrew clark
c47b82b103 Fixing Run CI Check for Changed Files (#3072)
* Fixing check for changed files

* Testing CI skip behavior

* Testing CI Trigger

This should skip CI

---------

Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>

[ROCm/composable_kernel commit: 775b96ea6a]
2025-10-24 07:52:43 -07:00
kyle-256
b49f5d9de5 [CK_TILE] add tensorwise quant in grouped gemm (#3007)
* add tensorwise quant in grouped gemm

* fix example issue

* update test cases

* format codes

* clang format

* use GTEST_FAIL

* fix a bug in test_grouped_gemm_util

* skip test when use wmma on grouped_quant kernel

* change cmake

* change code based on comments

---------

Co-authored-by: ThomasNing <thomas.ning@amd.com>

[ROCm/composable_kernel commit: 3c12a02827]
2025-10-24 07:41:54 -07:00
assistant-librarian[bot]
52434da15a Merge commit '6bbc05e1bd1f1dd1bcc61a1e815f470cd4c9ac7f' into develop 2025-10-24 09:13:29 +00:00
yinglu
480f05ffd9 conv:tf32:add missed instances (#3081)
* conv:tf32:add missed instances

[ROCm/composable_kernel commit: 6bbc05e1bd]
2025-10-24 16:28:36 +08:00
assistant-librarian[bot]
9fde1d98ad Merge commit 'd0364641ed7f7520ed0163e4768d900b8c07af7a' into develop 2025-10-23 20:13:04 +00:00
Robin Voetter
88771b5f47 [CK_BUILDER] old ck build fixes (#3075)
* Disable c++20-compat warnings when building old CK in C++20 mode

Turns out that this creates some warnings for no good reason.

* ck-builder: add missing layouts and element-wise op names

For layouts, we can directly use the ::name attribute, which should
cover all layouts. For element-wise ops, I just added the ones which
are currently missing when compiling CK with -DMIOPEN_REQ_LIBS_ONLY.

[ROCm/composable_kernel commit: d0364641ed]
2025-10-23 13:01:19 -07:00
Thrupti Raj Lakshmana Gowda
9a2f0f82b4 Excluding Tile engine from build (#3085)
[ROCm/composable_kernel commit: 0fd7d1a607]
2025-10-23 12:57:18 -07:00
Geo Min
2dc3dad0a0 adding commit hash (#3084)
[ROCm/composable_kernel commit: 2546fc241e]
2025-10-23 12:32:26 -07:00
assistant-librarian[bot]
8505bc05c9 Merge commit 'fe4eaeb2eb28088e07d7c7e5f8bd7499831a427c' into develop 2025-10-23 19:11:30 +00:00
Yi DING
048edb2776 Use filename but not path to filter compilation (#3083)
* prologue

* Use filename but not path to filter test compilation

[ROCm/composable_kernel commit: fe4eaeb2eb]
2025-10-23 12:01:26 -07:00
assistant-librarian[bot]
0bd24dbfbf Merge commit 'bedade257241fef37a28c6e540e73f1c056d27b9' into develop 2025-10-23 18:15:09 +00:00
Gino Lu
7e4c021e26 [CK_TILE] Add fp4 warp gemm 16x16x128 (#2738)
* first commit

* fix format error

* fix vec size error

* fix clang format

* fix type error

* add interface in warp_gemm_impl

* fix interface

* fix bug

* fix bug

---------

Co-authored-by: asleepzzz <hanwen.chang@amd.com>
Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>

[ROCm/composable_kernel commit: bedade2572]
2025-10-23 10:55:51 -07:00
Rostyslav Geyyer
e6dc79dcc6 Rearrange pointers to fix the reinterpret_cast issue (#3077)
[ROCm/composable_kernel commit: 6df69abeef]
2025-10-23 10:54:13 -07:00
Qianfeng
cf31de9211 [CK_TILE] Fix in set_slice_tile (#2232)
Co-authored-by: Adam Osewski <19374865+aosewski@users.noreply.github.com>

[ROCm/composable_kernel commit: fbd101b1ac]
2025-10-23 10:34:02 -07:00
assistant-librarian[bot]
6c1c433260 Merge commit 'b9789a0742e4623a109472fad567ccea14c7ed89' into develop 2025-10-23 07:13:33 +00:00
Michal Kulikowski
31939e7b2b [CK][Examples] Fixing stride issues in ck examples by workaround - Bypassing hostTensor validation.
Signed-off-by: Michal Kulikowski <Michal.Kulikowski@amd.com>


[ROCm/composable_kernel commit: b9789a0742]
2025-10-23 08:46:02 +02:00
assistant-librarian[bot]
32b15133e0 Merge commit '0d3860dfdb3299dea139953c3ce62da5325019c6' into develop 2025-10-23 01:39:45 +00:00
Haocong WANG
2a01918313 [CKTILE] FMHA fwd trload lse fix (#3046)
* enable storelse for fmha_fwd_trload kernel

* fix lse in trload

* fix the mask related bug

[ROCm/composable_kernel commit: 0d3860dfdb]
2025-10-23 09:33:33 +08:00
assistant-librarian[bot]
c4c504b867 Merge commit '1b95803431d50361d22c3b76c4caf6608e83069d' into develop 2025-10-22 20:13:26 +00:00
spolifroni-amd
93115d8e56 updated the changelog with 7.1 and beyond info
[ROCm/composable_kernel commit: 1b95803431]
2025-10-22 13:35:45 -06:00
assistant-librarian[bot]
898ae9c620 Merge commit '211d64e18a1bf2ecb1d13c5eb87983bdcabb3b5e' into develop 2025-10-22 15:12:27 +00:00
lalala-sh
63e0a73bd3 [CK_TILE] Update flatmm related kernels (#3022)
---------

Co-authored-by: Ding, Yi <yi.ding@amd.com>
Co-authored-by: felix <felix.li@amd.com>

[ROCm/composable_kernel commit: 211d64e18a]
2025-10-22 22:36:11 +08:00
assistant-librarian[bot]
2934bb0489 Merge commit 'cbd1279ae68d8b463b9b20106e968f8ccf2a11e6' into develop 2025-10-22 12:17:24 +00:00
Johannes Graner
b8882aae95 [CK_TILE] Conv bwd splitN support (#3047)
* Conv bwd splitN support

* Adjust splitting calculations to lengths format

* Prepare indexing for future splitK support

[ROCm/composable_kernel commit: cbd1279ae6]
2025-10-22 13:34:06 +02:00
assistant-librarian[bot]
2708c12866 Merge commit '5a27a97391d08652c3da0a5347209c19d3ebb03d' into develop 2025-10-22 07:14:09 +00:00
MHYangAMD
6d802e7ba4 Introduce tree reduction for BlockReduce2dCrossWarpSync (#2588)
* Introduce tree reduction for BlockReduce2dCrossWarpSync

* Rename original impl to BlockReduce2dLinearCrossWarpSync

* Replace warp_size with get_warp_size()

---------

Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>

[ROCm/composable_kernel commit: 5a27a97391]
2025-10-22 14:41:35 +08:00
assistant-librarian[bot]
5fbbd3eed7 Merge commit '37dff024c1d2c6420a91d9a4b0801b350db3eede' into develop 2025-10-22 04:13:42 +00:00
John Shumway
8f48205046 [CK_BUILDER] Add compile-time reflection for a convolution instance (#3065)
* [CK_BILDER] Add compile-time reflection for a convolution instance

Introduce InstanceTraits template metaprogramming framework to enable runtime introspection of device kernel template parameters without requiring implementation knowledge. This reflection system extracts configuration details (block sizes, data types, layouts, tuning parameters) directly from kernel specializations through template
pattern matching. In particular, the GetInstanceString method returns a string that uniquely idenitfies the kernel, by explicitly serializing all template paramter values.

This provides critical functionality for MIOpen integration, since the existing GetTypeString method is ambiguous, and only captures some of the template paramters.

The implementation uses a two-level design: a primary InstanceTraits template declaration in instance_traits.hpp serves as the interface, while kernel-specific specializations (e.g., for DeviceGroupedConvFwdMultipleABD_Xdl_CShuffle_V3) provide the actual extraction logic. This separation allows the reflection system to scale to additional kernel types without modifying the core interface.

Key architectural decisions:

- Forward-declare device kernels in instance_traits.hpp to avoid  circular dependencies, since device implementation headers will  include the reflection headers

- Use compile-time constants and type aliases to expose kernel  parameters, enabling zero-overhead introspection

- Provide a templated instance_string() function that generates human-readable  kernel configuration strings by serializing all template parameters  in order, useful for debugging and kernel identification

- Guard reflection integration with preprocessor definition CK_EXPERIMENTAL_BUILDER to keep  it opt-in until the API stabilizes

- Add GetInstanceString() virtual method to BaseOperator, allowing  runtime polymorphic access to compile-time kernel information

This infrastructure also enables upcoming higher-level semantic reflection abstractions (like ConvTraits) to query kernel configurations programmatically.

Includes unit tests validating both the trait extraction accuracy and the string generation format.

[ROCm/composable_kernel commit: 37dff024c1]
2025-10-21 21:10:19 -07:00
assistant-librarian[bot]
6ecded14e2 Merge commit '3a28632b203f9219ed4906d46457872ef1084054' into develop 2025-10-21 14:13:05 +00:00
Bartłomiej Kocot
4f83a3d745 Gridwise gemm conv v3 force padded layout on gfx950 (#2961)
* Gridwise gemm conv v3 force padded layout on gfx950

* fix bug in other gridwise

* fix

* Update gridwise_gemm_wmma_cshuffle_v3_common.hpp

[ROCm/composable_kernel commit: 3a28632b20]
2025-10-21 15:41:02 +02:00
assistant-librarian[bot]
c8e373c4ab Merge commit '35754d2ec817087a2a7de53729f2a97c7c9f05fa' into develop 2025-10-21 13:22:20 +00:00
Yashvardhan Agarwal
9072046e55 fix identity value of AbsMax (#3058)
* fix identity value of AbsMax

- Identity value of AbsMax should be 0 not numeric<T>::lowest()

* Update include/ck_tile/core/utility/reduce_operator.hpp

resolved comment

Co-authored-by: Christopher Millette <63608002+cgmillette@users.noreply.github.com>

---------

Co-authored-by: Christopher Millette <63608002+cgmillette@users.noreply.github.com>

[ROCm/composable_kernel commit: 35754d2ec8]
2025-10-21 14:42:08 +02:00
assistant-librarian[bot]
e237b82762 Merge commit '4043401db186ee006f14fb00842af29c194ba209' into develop 2025-10-21 08:15:24 +00:00
Johannes Graner
671f2686c0 Fix race conditions in ck_tile remod (#3061)
[ROCm/composable_kernel commit: 4043401db1]
2025-10-21 09:35:04 +02:00
assistant-librarian[bot]
d3658e9aa2 Merge commit 'ff6efa2fb17db0266b0ff2fa531ffc9fad31b0cc' into develop 2025-10-21 03:28:40 +00:00