Skip to content

PR #36046: [ROCm] Fix failing unit tests on ROCm platform#36397

Closed
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_856068530
Closed

PR #36046: [ROCm] Fix failing unit tests on ROCm platform#36397
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_856068530

Conversation

@copybara-service
Copy link
Copy Markdown

PR #36046: [ROCm] Fix failing unit tests on ROCm platform

Imported from GitHub PR #36046

📝 Summary of Changes

  • layout_assignment tests are marked cuda-only.
  • sample_file_test needs higher autotuner level for MIOpen to return conv algorithm. Earlier this was coming from GetDebugOptionsForTest.
  • buffer_debug_log test is made gpu agnostic by using cannonical gpu name.
  • cublas_gemm_rewriter_test_amdgpu_any fix unit test to remove padding for ROCm as introduced in [ROCM[ Remove padding for gemms #33854
  • gpu_kernel_tiling_test_amdgpu_any is updated to respect higher launch dimensions now supported by hipruntime
  • Mark dynamic_shared_memory_test as cuda-only
  • Add arch specific checks for barriers to sorting.hlo

🎯 Justification
Fixes failing unit tests on ROCm platform

🚀 Kind of Contribution
🐛 Bug Fix, 🧪 Tests

Copybara import of the project:

--
472cd54 by Harsha HS Harsha.HavanurShamsundara@amd.com:

[ROCm] Fix failing unit tests on ROCm platform

  • layout_assignment tests are marked cuda-only.
  • sample_file_test needs higher autotuner level for MIOpen to return
    conv algorithm. Earlier this was coming from GetDebugOptionsForTest.
  • buffer_debug_log test is made gpu agnostic by using cannonical gpu name.

--
3bb9422 by Harsha HS Harsha.HavanurShamsundara@amd.com:

Fix tests which started to fail due to #33854

--
850d955 by Harsha HS Harsha.HavanurShamsundara@amd.com:

HIP now respects highter launch dimension similar to CUDA

--
b504a7e by Harsha HS Harsha.HavanurShamsundara@amd.com:

Make dynamic_shared_memory_test cuda only

--
1e4e57a by Harsha HS Harsha.HavanurShamsundara@amd.com:

Add arch specific checks to sorting.hlo

--
ce1241c by Harsha HS Harsha.HavanurShamsundara@amd.com:

Address review comments

Merging this change closes #36046

FUTURE_COPYBARA_INTEGRATE_REVIEW=#36046 from ROCm:ci_fix_upstream_ut_20260107 ce1241c

@copybara-service copybara-service Bot force-pushed the test_856068530 branch 4 times, most recently from 48633a3 to 96b0553 Compare January 19, 2026 10:09
Imported from GitHub PR #36046

📝 Summary of Changes

- layout_assignment tests are marked cuda-only.
- sample_file_test needs higher autotuner level for MIOpen to return conv algorithm. Earlier this was coming from GetDebugOptionsForTest.
- buffer_debug_log test is made gpu agnostic by using cannonical gpu name.
- cublas_gemm_rewriter_test_amdgpu_any fix unit test to remove padding for ROCm as introduced in #33854
- gpu_kernel_tiling_test_amdgpu_any is updated to respect higher launch dimensions now supported by hipruntime
- Mark dynamic_shared_memory_test as cuda-only
- Add arch specific checks for barriers to sorting.hlo

🎯 Justification
Fixes failing unit tests on ROCm platform

🚀 Kind of Contribution
 🐛 Bug Fix, 🧪 Tests

Copybara import of the project:

--
472cd54 by Harsha HS <Harsha.HavanurShamsundara@amd.com>:

[ROCm] Fix failing unit tests on ROCm platform

- layout_assignment tests are marked cuda-only.
- sample_file_test needs higher autotuner level for MIOpen to return
conv algorithm. Earlier this was coming from GetDebugOptionsForTest.
- buffer_debug_log test is made gpu agnostic by using cannonical gpu name.

--
3bb9422 by Harsha HS <Harsha.HavanurShamsundara@amd.com>:

Fix tests which started to fail due to #33854

--
850d955 by Harsha HS <Harsha.HavanurShamsundara@amd.com>:

HIP now respects highter launch dimension similar to CUDA

--
b504a7e by Harsha HS <Harsha.HavanurShamsundara@amd.com>:

Make dynamic_shared_memory_test cuda only

--
1e4e57a by Harsha HS <Harsha.HavanurShamsundara@amd.com>:

Add arch specific checks to sorting.hlo

--
ce1241c by Harsha HS <Harsha.HavanurShamsundara@amd.com>:

Address review comments

Merging this change closes #36046

FUTURE_COPYBARA_INTEGRATE_REVIEW=#36046 from ROCm:ci_fix_upstream_ut_20260107 ce1241c
PiperOrigin-RevId: 856068530
@copybara-service copybara-service Bot closed this Jan 22, 2026
@copybara-service copybara-service Bot deleted the test_856068530 branch January 22, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant