-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,32 @@ | |
|
||
#include "rocauxiliary_sterf.hpp" | ||
|
||
#ifdef LAPACK_FUNCTIONS | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
void dsterf(int* n, double* D, double* E, int* info); | ||
This comment has been minimized.
Sorry, something went wrong.
EdDAzevedo
Contributor
|
||
void ssterf(int* n, float* D, float* E, int* info); | ||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
template <> | ||
void lapack_sterf<double>(rocblas_int n, double* D, double* E, int &info) | ||
{ | ||
dsterf(&n, D, E, &info); | ||
} | ||
|
||
template <> | ||
void lapack_sterf<float>(rocblas_int n, float* D, float* E, int &info) | ||
{ | ||
ssterf(&n, D, E, &info); | ||
} | ||
|
||
#endif | ||
|
||
|
||
template <typename T> | ||
rocblas_status | ||
rocsolver_sterf_impl(rocblas_handle handle, const rocblas_int n, T* D, T* E, rocblas_int* info) | ||
|
This has some complications when we package and distribute the rocSOLVER binary, so please default to
OFF
. It's a great option to have, but there's a bunch of work to do before it can be enabled by default.