Skip to content

[hiprand] Skip a couple of long-running tests from the ffm-quick category#8791

Open
amd-hsong wants to merge 1 commit into
developfrom
users/amd-hsong/hiprand_exclude_mt19937_from_ffm_quick
Open

[hiprand] Skip a couple of long-running tests from the ffm-quick category#8791
amd-hsong wants to merge 1 commit into
developfrom
users/amd-hsong/hiprand_exclude_mt19937_from_ffm_quick

Conversation

@amd-hsong

@amd-hsong amd-hsong commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Motivation

test_hiprand_api and test_hiprand_cpp_wrapper timeout on FFM simulation. They can successfully finish if given enough time. This PR excludes them from the ffm-quick category.

Technical Details

Their slowness is caused by the mt19937 generator's initialization kernel (jump_ahead_mt19937). It is very expensive because of 1) large grid size: 8,192 blocks × 128 threads = ~1M threads, and 2) 19,937 iteration loop per block with __syncthreads() on every iteration and conditional shared memory writes gated by global memory reads.

Test Plan

Run ctest -L ffm-quick. These two tests should be skipped.

Test Result

These two tests are included in quick/standard/full categories but not in ffm-quick.

Submission Checklist

@codecov-commenter

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    #8791   +/-   ##
========================================
  Coverage    71.43%   71.43%           
========================================
  Files         2612     2612           
  Lines       407002   407002           
  Branches     60775    60775           
========================================
  Hits        290729   290729           
  Misses       94967    94967           
  Partials     21306    21306           
Flag Coverage Δ *Carryforward flag
TensileLite 76.81% <ø> (ø) Carriedforward from 32181ab
hipBLAS 90.81% <ø> (ø) Carriedforward from 32181ab
hipBLASLt 41.33% <ø> (ø) Carriedforward from 32181ab
hipCUB 82.68% <ø> (ø) Carriedforward from 32181ab
hipDNN 86.72% <ø> (ø) Carriedforward from 32181ab
hipFFT 50.79% <ø> (ø) Carriedforward from 32181ab
hipRAND 76.12% <ø> (ø)
hipSOLVER 69.18% <ø> (ø) Carriedforward from 32181ab
hipSPARSE 86.55% <ø> (ø) Carriedforward from 32181ab
rocBLAS 48.08% <ø> (ø) Carriedforward from 32181ab
rocFFT 47.22% <ø> (ø) Carriedforward from 32181ab
rocRAND 57.07% <ø> (ø) Carriedforward from 32181ab
rocSOLVER 77.89% <ø> (ø) Carriedforward from 32181ab
rocSPARSE 72.37% <ø> (ø) Carriedforward from 32181ab
rocThrust 91.34% <ø> (ø) Carriedforward from 32181ab

*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