Can CULA routines be called from device kernels?

亡梦爱人 提交于 2019-12-01 07:28:52

问题


So I'm trying to see if I can get some significant speedup from using a GPU to solve a small overdetermined system of equations by solving a bunch at the same time. My current algorithm involves using an LU decomposition function from the CULA Dense library that also has to switch back and forth between the GPU and the CPU to initialize and run the CULA functions. I would like to be able to call the CULA functions from my CUDA kernels so that I don't have to jump back to the CPU and copy the data back. This would also allow me to create multiple threads that are working on different data sets to be solving multiple systems concurrently. My question is can I call CULA functions from device functions? I know it's possible with CUBLAS and some of the other CUDA libraries.

Thanks!


回答1:


The short answer is no. The CULA library routines are designed to be called from host code, not device code.

Note that CULA have their own support forums here which you may be interested in.



来源:https://stackoverflow.com/questions/19966270/can-cula-routines-be-called-from-device-kernels

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!