Skip to content

[lapack][rocSOLVER] Implement native LAPACK gaps - #767

Open
zjin-lcf wants to merge 1 commit into
uxlfoundation:developfrom
zjin-lcf:feature/rocsolver-lapack-gaps
Open

[lapack][rocSOLVER] Implement native LAPACK gaps#767
zjin-lcf wants to merge 1 commit into
uxlfoundation:developfrom
zjin-lcf:feature/rocsolver-lapack-gaps

Conversation

@zjin-lcf

@zjin-lcf zjin-lcf commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • implement gerqf and getri with native rocSOLVER entry points for buffer and USM APIs
  • implement strided and grouped batched geqrf, getrf, getrs, getri, potrf, potrs, and orgqr/ungqr routines with scratchpad queries
  • preserve SYCL dependencies, convert oneMath 64-bit pivots safely, report per-matrix batch errors, and clean up temporary USM allocations on failures
  • leave ormrq/unmrq, trtrs, and hetrf unimplemented because rocSOLVER has no native equivalents

Test plan

  • Build the rocSOLVER LAPACK backend with DPC++ and ROCm 7.2.4
  • Run compile-time dispatch LAPACK tests on AMD GPU
  • Run runtime dispatch LAPACK tests on AMD GPU
  • Verify grouped potrs_batch accuracy and dependency tests with multiple right-hand sides
  • Run clang-format 19.1.0 and git diff --check

Portability

The implementation uses architecture-neutral rocSOLVER APIs and basic SYCL kernels.

Add native rocSOLVER implementations for RQ factorization, inversion, and batched routines while preserving oneMath dependency and error-reporting contracts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@zjin-lcf
zjin-lcf requested a review from a team as a code owner August 15, 2026 21: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