Skip to content

Fix linkage for tensilelite-host target and bump mxdatagen#702

Closed
davidd-amd wants to merge 3 commits into
developfrom
users/ellosel/hipblaslt-hotfix-for-therock
Closed

Fix linkage for tensilelite-host target and bump mxdatagen#702
davidd-amd wants to merge 3 commits into
developfrom
users/ellosel/hipblaslt-hotfix-for-therock

Conversation

@davidd-amd
Copy link
Copy Markdown
Contributor

@davidd-amd davidd-amd commented Jul 16, 2025

  • Updates linkage for tensilelite-host msgpack dependency because it is a build and usage requirement.
  • Make tensilelite-host and PUBLIC dependency but only for build interface.

ibrahimw1
ibrahimw1 previously approved these changes Jul 16, 2025
Comment thread projects/hipblaslt/next-cmake/CMakePresets.json Outdated
Comment thread projects/hipblaslt/next-cmake/CMakeLists.txt Outdated
Comment thread projects/hipblaslt/clients/common/mxDataGen.cpp Outdated
@davidd-amd davidd-amd force-pushed the users/ellosel/hipblaslt-hotfix-for-therock branch from f7a99b7 to 72e1db5 Compare July 16, 2025 22:38
@davidd-amd davidd-amd changed the title Fix linkage for tensilelite-host target and bump mxdatagenerator Fix linkage for tensilelite-host target Jul 16, 2025
@davidd-amd davidd-amd changed the title Fix linkage for tensilelite-host target Fix linkage for tensilelite-host target and bump mxdatagen Jul 17, 2025
Copy link
Copy Markdown
Member

@marbre marbre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes most of the failures I've been hitting when compiling via TheRock. What remains is

5.7     /TheRock/math-libs/BLAS/hipBLASLt/next-cmake/../library/src/amd_detail/rocblaslt/src/include/rocroller_host_internal.hpp:36:10: fatal error: 'Tensile/analytical/Utils.hp
p' file not found
5.7        36 | #include <Tensile/analytical/Utils.hpp>
5.7           |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5.7     1 error generated.

ScottTodd added a commit to ROCm/TheRock that referenced this pull request Jul 26, 2025
Cherry-pick of ROCm/rocm-libraries#855 for
testing, with conflicts resolved manually. Patches did not apply cleanly
on a roll-up, as ROCm/rocm-libraries#702 is
still under review and has conflicts too.

Testing at:
* Linux gfx942: https://github.com/ROCm/TheRock/actions/runs/16535937296
* Windows gfx110X-dgpu:
https://github.com/ROCm/TheRock/actions/runs/16535942310
Copy link
Copy Markdown
Member

@marbre marbre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebase this for the use in TheRock on a more recent hipBLASLt commit (still tracking the ROCm/hipBLASLt repo): https://github.com/ROCm/TheRock/blob/7b4a3fdcc7fd32a46f4a3bf1891d4a91b1b88a8e/patches/amd-mainline/hipBLASLt/0001-Fix-linkage-for-tensilelite-host-target-and-bump-mxd.patch

This resolved the build failures we were previously facing. Thus, rebasing and merging this would be much apprechiated.

@marbre
Copy link
Copy Markdown
Member

marbre commented Aug 11, 2025

@davidd-amd davidd-amd closed this Aug 12, 2025
lamikr pushed a commit that referenced this pull request Aug 19, 2025
- Updates linkage for tensilelite-host msgpack dependency because it is
  a build and usage requirement.
- Add tensilelite-host to rocroller host target

Adopted from #702.
HPC-Ken pushed a commit to HPC-Ken/rocm-libraries that referenced this pull request Aug 22, 2025
- Updates linkage for tensilelite-host msgpack dependency because it is
  a build and usage requirement.
- Add tensilelite-host to rocroller host target

Adopted from ROCm#702.
@davidd-amd davidd-amd deleted the users/ellosel/hipblaslt-hotfix-for-therock branch March 19, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants