我在使用 cuSolver 的设备上找不到 LU 分解

I don't find the LU decomposition on the device with cuSolver

我需要用 cuda 计算矩阵(double 数组)的行列式,我想使用 LU 分解来执行此操作。 我在 cusolverSp.h 中没有找到设备功能,只有主机功能 cusolverSpDcsrlsvluHost。 我查看了 cuda 7.0 和 cuda 7.5。

不明白为什么找不到,因为官方文档中有描述:http://docs.nvidia.com/cuda/cusolver/index.html#api

设备上的 Cholesky 分解等其他功能有效。

实现了吗? 如果是,我在哪里可以找到它?

感谢您的帮助!

查看您指出的文档,我看到:

Remark 5: only CPU (Host) path is provided

在页面上稍作阅读可得出以下结论:

Next, cuSolverSP provides a new set of sparse routines based on a sparse QR factorization. Not all matrices have a good sparsity pattern for parallelism in factorization, so the cuSolverSP library also provides a CPU path to handle those sequential-like matrices. For those matrices with abundant parallelism, the GPU path will deliver higher performance. The library is designed to be called from C and C++.

结合这两个引号,我猜设备功能不值得提供...不过这只是我的解释。