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일

1 개 추천

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일

0 개 추천

This is now supported in R2014b - see the release notes.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2014년 3월 19일

답변:

2014년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by