BLAS相当于GPU的LAPACK功能 [英] BLAS equivalent of a LAPACK function for GPUs

查看:68
本文介绍了BLAS相当于GPU的LAPACK功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在LAPACK中,有函数用于对角化

In LAPACK there is this function for diagonalization

  SUBROUTINE DSPGVX( ITYPE, JOBZ, RANGE, UPLO, N, AP, BP, VL, VU,
 $                   IL, IU, ABSTOL, M, W, Z, LDZ, WORK, IWORK,
 $                   IFAIL, INFO )

*

我正在寻找其GPU实施.我正在尝试查找此功能是否已经在CUDA(或OpenCL)中实现,但是仅找到了CULA,它不是开源的.

I am looking for its GPU implementation. I am trying to find whether this function has been already implemented in CUDA (or OpenCL), but have only found CULA, which is not open source.

因此,存在CUBLAS的一面,我想知道如何知道此子例程的BLAS或CUBLAS等效项.

Therefore and side CUBLAS exists, I wonder how could I know whether a BLAS or CUBLAS equivalent of this subroutine is available.

推荐答案

BLAS不包含特征值求解器,CUBLAS在这方面也没有什么不同.UTK开发的 Magma 库包含两个GPU加速的特征值问题例程.我不认为xSPGV已实现,但其他几个都已实现.根据矩阵的特性,可能会使用某些东西.

BLAS doesn't include eigenvalue solvers, and CUBLAS is no different in that regard. The UTK developed Magma library includes a couple of GPU accelerated eigenvalue problem routines. I don't think xSPGV is implemented, but several other are. Depending on the characteristics of your matrix have, there might be something you could use.

这篇关于BLAS相当于GPU的LAPACK功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆