Skip to content

Conversation

@lucbv
Copy link
Contributor

@lucbv lucbv commented Nov 12, 2025

Taking over PR #2205 rebasing on the current state of develop and re-running tests, will also have a look at the unit-tests and might add more checks.

@lucbv lucbv requested review from jgfouca and vqd8a November 12, 2025 23:02
@lucbv lucbv self-assigned this Nov 12, 2025
eeprude and others added 2 commits November 12, 2025 17:13
The wrappers will allow use of LAPACK, cusolver, rocsolver and
magma

Signed-off-by: Luc Berger-Vergiat <[email protected]>
@lucbv lucbv added the AT2-CI-APPROVAL Approve CI to run at SNL label Nov 13, 2025
Copy link
Contributor

@jgfouca jgfouca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a few minor things.

static_assert(std::is_same_v<typename InfoArray::non_const_value_type, int>,
"KokkosLapack::geqrf: Info must be an array of integers.");

int64_t m = A.extent(0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These could all be consts.

for (int index(k + 1); index < m; ++index) {
h_v[index] = h_A(index, k);
}
#if 0 // def HAVE_KOKKOSKERNELS_DEBUG
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worthwhile to keep these #if 0 blocks around? Should we switch these to something like #if QEQRF_DEBUG so that the programmer can turn these all back on easily?

/// Geqrf
///

void F77_BLAS_MANGLE(sgeqrf, SGEQRF)(int*, int*, float*, int*, float*, float*, int*, int*);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed none of these are consts. Is every argument an output or inout?

Signed-off-by: Luc Berger-Vergiat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT2-CI-APPROVAL Approve CI to run at SNL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants