在GPU上求解特征-CUDA [英] Solving eigen on GPU - CUDA
问题描述
我最近使用 eigen 编写了一个C ++程序.但是我发现我较差的CPI无法处理较大的计算负载.我估计它至少需要一天的计算时间,而且我的时间很短,尤其是因为我可能还需要调试时间.我正在考虑使用GPU加速,但是我不知道如何使我的代码适应CUDA(或其他平台,但我更喜欢CUDA).
I recently write a C++ program using eigen. But I found that my poor CPI cannot handle the large computation load. I estimate it demands at least a day of computation and I am short of time, especially since I may need debugging time too. I'm considering using GPU acceleration, but I don't know how to adapt my code for CUDA (or some other platforms, but I prefer CUDA).
有没有便捷的方法可以将GPU加速应用于本征程序?
Are there any convenient methods to apply GPU acceleration on eigen program?
推荐答案
cuSolver
是 NVIDIA 的线性代数库.它为数以吨计的其他线性代数设备提供了快速有效的特征求解器.您可能还想看一下SDK示例(7_Libraries).
cuSolver
is a linar algebra library by NVIDIA. It provides fast and efficient eigen solver among tons of other linear algebra facilities.
You might also want to take a look at the SDK examples (7_Libraries).
其他有用的库是
这篇关于在GPU上求解特征-CUDA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!