Skip to content

feat(tensilelite): Install tensilelite-client and fix makeIsaInfoMap singleton poisoning#8520

Merged
archana-ramalingam merged 5 commits into
developfrom
users/aramalin/tensilelite-client-fixture
Jun 25, 2026
Merged

feat(tensilelite): Install tensilelite-client and fix makeIsaInfoMap singleton poisoning#8520
archana-ramalingam merged 5 commits into
developfrom
users/aramalin/tensilelite-client-fixture

Conversation

@archana-ramalingam

@archana-ramalingam archana-ramalingam commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Motivation

Split from PR #8004 per reviewer request. These changes are prerequisites for GPU emulation testing on gfx1250.

Technical Details

  • CMakeLists.txt: Install tensilelite-client to libexec/hipblaslt/tensilelite when the target exists. Required for FFM emulation tests to locate the prebuilt client binary.
  • test_MatrixInstructionConversion.py: Move validateToolchain() and makeIsaInfoMap() from module level to @pytest.fixture(scope="module"). Prevents rocisa singleton poisoning when unit and common test modules are collected in the same pytest session.

Test Plan

  • CI build passes (tensilelite-client install is conditional on target existence)
  • TensileLite unit tests pass (fixture change is backwards-compatible)

Test Result

  • Both changes validated in FFM CI runs (78/83 gfx1250 tests pass)

Submission Checklist

JIRA ID: AIHPBLAS-3508

…eton poisoning

- Install tensilelite-client to libexec/hipblaslt/tensilelite for CI
  test artifacts (fixes FileNotFoundError in FFM emulation tests)
- Move makeIsaInfoMap() from module level to pytest fixture in
  test_MatrixInstructionConversion.py (prevents rocisa singleton
  poisoning when unit + common tests are collected together)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Jun 17, 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    #8520      +/-   ##
===========================================
- Coverage    71.43%   71.43%   -0.00%     
===========================================
  Files         2612     2612              
  Lines       407002   407002              
  Branches     60775    60775              
===========================================
- Hits        290729   290728       -1     
- Misses       94967    94970       +3     
+ Partials     21306    21304       -2     
Flag Coverage Δ *Carryforward flag
TensileLite 76.81% <ø> (ø)
hipBLAS 90.81% <ø> (ø) Carriedforward from 13bfb36
hipBLASLt 41.33% <ø> (ø)
hipCUB 82.68% <ø> (ø) Carriedforward from 13bfb36
hipDNN 86.71% <ø> (-<0.01%) ⬇️ Carriedforward from 13bfb36
hipFFT 50.79% <ø> (ø) Carriedforward from 13bfb36
hipRAND 76.12% <ø> (ø) Carriedforward from 13bfb36
hipSOLVER 69.18% <ø> (ø) Carriedforward from 13bfb36
hipSPARSE 86.55% <ø> (ø) Carriedforward from 13bfb36
rocBLAS 48.08% <ø> (ø) Carriedforward from 13bfb36
rocFFT 47.22% <ø> (ø) Carriedforward from 13bfb36
rocRAND 57.07% <ø> (ø) Carriedforward from 13bfb36
rocSOLVER 77.89% <ø> (ø) Carriedforward from 13bfb36
rocSPARSE 72.37% <ø> (ø) Carriedforward from 13bfb36
rocThrust 91.34% <ø> (ø) Carriedforward from 13bfb36

*This pull request uses carry forward flags. Click here to find out more.
see 3 files with indirect coverage changes

🚀 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.

Comment thread projects/hipblaslt/CMakeLists.txt Outdated
Comment thread projects/hipblaslt/CMakeLists.txt
@archana-ramalingam archana-ramalingam changed the title [tensilelite] Install tensilelite-client and fix makeIsaInfoMap singleton poisoning feat(tensilelite): Install tensilelite-client and fix makeIsaInfoMap singleton poisoning Jun 23, 2026
archana-ramalingam and others added 2 commits June 23, 2026 15:48
rocm_install_targets() does not accept DESTINATION — it only parses
TARGETS, EXPORT, COMPONENT, PREFIX, INCLUDE, PRIVATE. The bare
DESTINATION keyword gets treated as a target name, breaking configure.

Use plain install() with RUNTIME DESTINATION per the
tensilelite-test-install design doc. Keep if(TENSILELITE_ENABLE_CLIENT)
guard from the prior review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@archana-ramalingam archana-ramalingam merged commit 9b6f8c2 into develop Jun 25, 2026
93 of 95 checks passed
@archana-ramalingam archana-ramalingam deleted the users/aramalin/tensilelite-client-fixture branch June 25, 2026 00:31
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.

3 participants