Skip to content

Commit 89d6f23

Browse files
committed
Use scipy lapack interface instead of direct linkage
1 parent 4c0bf91 commit 89d6f23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

varipeps/utils/extensions/svd_ffi.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
namespace nb = nanobind;
66
using namespace ::xla;
77

8+
nb::module_ cython_lapack = nb::module_::import_("scipy.linalg.cython_lapack");
9+
810
inline constexpr auto LapackIntDtype = ffi::DataType::S32;
911
static_assert(std::is_same_v<::xla::ffi::NativeType<LapackIntDtype>, lapack_int>);
1012

0 commit comments

Comments
 (0)