composable_kernel icon indicating copy to clipboard operation
composable_kernel copied to clipboard

[Issue]: gemm_pipeline_memory has build assert failed

Open ZJLi2013 opened this issue 9 months ago • 0 comments

Problem Description

hi, ck team,

I am trying with CK_TILE_PIPELINE_MEMORY 2 used in universal_gemm example, the default V3 pipeline works well, while this gives:

In file included from /workspace/composable_kernel/example/ck_tile/03_gemm/universal_gemm.cpp:12:
In file included from /workspace/composable_kernel/include/ck_tile/host.hpp:7:
In file included from /workspace/composable_kernel/include/ck_tile/host/check_err.hpp:16:
In file included from /workspace/composable_kernel/include/ck_tile/core.hpp:46:
In file included from /workspace/composable_kernel/include/ck_tile/core/tensor/shuffle_tile.hpp:18:
/workspace/composable_kernel/include/ck_tile/core/utility/transpose_vectors.hpp:39:28: error: static assertion failed due to requirement '1 % 2 == 0': wrong!
   39 |             static_assert((NX % 2 == 0 && NY % 2 == 0), "wrong!");
      |                            ^~~~~~~~~~~
/workspace/composable_kernel/include/ck_tile/core/tensor/transpose_tile.hpp:130:63: note: in instantiation of member function 'ck_tile::transpose_vectors<_Float16, 1, 8>::operator()' requested here
  130 |         transpose_vectors<DataType, num_vec_in, num_vec_out>{}(in_vectors, out_vectors);

thanks for verifying

Operating System

ubuntu 22/04

CPU

AMD

GPU

AMD Instinct MI300

Other

No response

ROCm Version

ROCm 6.0.0

ROCm Component

Other

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

ZJLi2013 avatar Mar 11 '25 02:03 ZJLi2013