composable_kernel icon indicating copy to clipboard operation
composable_kernel copied to clipboard

[Issue]: Does not honor cmake BUILD_SHARED

Open trixirt opened this issue 11 months ago • 2 comments

Problem Description

All of the libraries are hardcoded to be statically built. ex/ https://github.com/ROCm/composable_kernel/blob/develop/library/src/tensor_operation_instance/gpu/CMakeLists.txt#L312

Fedora requires libraries to be shared and versioned.

Operating System

Fedora Rawhide

CPU

ALL

GPU

AMD Instinct MI300X

Other

No response

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

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

No response

Additional Information

No response

trixirt avatar Dec 28 '24 21:12 trixirt

Hi @trixirt. Internal ticket has been created to investigate this issue. Thanks!

ppanchad-amd avatar Dec 30 '24 16:12 ppanchad-amd

See https://github.com/GZGavinZhao/composable_kernel/commits/solus-rocm-6.2.x/ for a set of working patches for ROCm v6.2, e42461b32936c76e171d57b28cea034085850367 and 1e84a973b5df0d055547e99c37d78dc72c2be9f2

GZGavinZhao avatar Dec 30 '24 17:12 GZGavinZhao

Closing ticket as PR merged into develop branch.

ppanchad-amd avatar Sep 15 '25 18:09 ppanchad-amd