Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Armadillo (+BLAS) using GPU

Is it possible to run armadillos calculations using GPU? Is there any way to use the GPU blas libraries (for example cuBLAS) with armadillo? Just a note, I am totally new to GPU programming.

like image 815
Milan Domazet Avatar asked Aug 01 '13 01:08

Milan Domazet


1 Answers

The current accepted answer is outdated. Comming with CUDA 6 (at the moment Release Candidate status), there is a true drop-in replacement called NVBLAS which takes care about GPU interaction and also works in combination with armadillo. You can use NVBLAS by linking your program agains libnvblas.so

However, not all BLAS methods may be available, so you have to specify a fallback-BLAS library (like openblas).

For more details, see https://developer.nvidia.com/cublasxt

like image 74
roemer Avatar answered Nov 25 '22 10:11

roemer