Implementing batched mldivide on the GPU

2 ビュー (過去 30 日間)
Rodrigo
Rodrigo 2014 年 3 月 19 日
回答済み: Edric Ellis 2014 年 12 月 10 日
Hi, I need to solve A*x=B for size(A)~[10,10,1e5] and size(B)~[10,1,1e5], and it seems like something like pagefun would be the way to do it: except that mldivide is not an option. I understand that cuBLAS has had the ability to run batch LU decompositions for some time and the newer cublas also seems to have a batched solver.
Is there a reasonably simple way to implement this in MATLAB (preferably R2013b or earlier)?
Thanks

採用された回答

Edric Ellis
Edric Ellis 2014 年 3 月 19 日
Unfortunately, as you have found PAGEFUN does not yet support batched MLDIVIDE. You might be able to use the GPU Mex interface to call CUBLAS yourself.
  2 件のコメント
Rodrigo
Rodrigo 2014 年 3 月 19 日
I was hoping I wouldn't have to do this, but I suppose there's no better alternative yet.
Adam
Adam 2014 年 4 月 29 日
Just chiming in: I also have a need for a pagefun 'mldivide'. If someone has done the MEX implementation already, please link. It would be greatly appreciated.

サインインしてコメントする。

その他の回答 (1 件)

Edric Ellis
Edric Ellis 2014 年 12 月 10 日
This is now supported in R2014b - see the release notes.

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by