Skip to content

[rocisa][stinkytofu] Move rocisa conversion glue out of stinkytofu#8765

Open
KKyang wants to merge 1 commit into
developfrom
users/kkyang/decouple-rocisa-conversion-glue
Open

[rocisa][stinkytofu] Move rocisa conversion glue out of stinkytofu#8765
KKyang wants to merge 1 commit into
developfrom
users/kkyang/decouple-rocisa-conversion-glue

Conversation

@KKyang

@KKyang KKyang commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Moves AllHwMappings.cpp/.hpp, ToStinkyTofuUtils.cpp, RocisaArchInfo.hpp, and Gfx1250RocisaArchInfo.hpp from shared/stinkytofu/src/conversion/rocisa/ to projects/hipblaslt/tensilelite/rocisa/rocisa/src/stinkytofu/
  • These are rocisa-side bindings (include rocisa headers, reference rocisa types, define init_stinkytofu) that compile into _rocisa — not libstinkytofu. Moving them makes ownership explicit.
  • Removes the cross-repo source path hack (_stinkytofu_src_dir) from rocisa's CMakeLists; sources are now referenced locally.
  • GenRocisaHwMapping.cpp stays in stinkytofu's tablegen (requires gfxisa internals) but is marked TODO for removal when rocisa is replaced by stinkytofu IR.

Test plan

  • rocisa standalone build (scikit-build-core) compiles cleanly
  • rocisa subdirectory build (hipblaslt) compiles cleanly
  • de-bundled find_package(stinkytofu) build compiles cleanly

The conversion sources (AllHwMappings, ToStinkyTofuUtils, *ArchInfo headers)
are rocisa-side bindings — they include rocisa headers, reference rocisa types,
and are compiled into _rocisa, not libstinkytofu. Moving them to
rocisa/src/stinkytofu/ makes ownership explicit and removes the cross-repo
source path hack from rocisa's CMakeLists.

GenRocisaHwMapping.cpp stays in stinkytofu's tablegen (it needs gfxisa
internals) but is marked for removal when rocisa is replaced by stinkytofu IR.
@codecov-commenter

codecov-commenter commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

❌ Your project status has failed because the head coverage (77.89%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8765   +/-   ##
========================================
  Coverage    71.43%   71.43%           
========================================
  Files         2612     2612           
  Lines       407038   407038           
  Branches     60777    60777           
========================================
  Hits        290766   290766           
  Misses       94969    94969           
  Partials     21303    21303           
Flag Coverage Δ *Carryforward flag
TensileLite 76.81% <ø> (ø)
hipBLAS 90.81% <ø> (ø) Carriedforward from f050201
hipBLASLt 41.33% <ø> (ø)
hipCUB 82.68% <ø> (ø) Carriedforward from f050201
hipDNN 86.74% <ø> (ø) Carriedforward from f050201
hipFFT 50.79% <ø> (ø) Carriedforward from f050201
hipRAND 76.12% <ø> (ø) Carriedforward from f050201
hipSOLVER 69.18% <ø> (ø) Carriedforward from f050201
hipSPARSE 86.55% <ø> (ø) Carriedforward from f050201
rocBLAS 48.08% <ø> (ø) Carriedforward from f050201
rocFFT 47.22% <ø> (ø) Carriedforward from f050201
rocRAND 57.07% <ø> (ø) Carriedforward from f050201
rocSOLVER 77.89% <ø> (ø) Carriedforward from f050201
rocSPARSE 72.37% <ø> (ø) Carriedforward from f050201
rocThrust 91.34% <ø> (ø) Carriedforward from f050201

*This pull request uses carry forward flags. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants