Tag Info

New answers tagged

0

You should write some kernel functions in CUDA (Nvidia language) for your matlab code. Arrayfun is quite restrictive and not appropriate. Look at this link http://fr.mathworks.com/help/distcomp/run-cuda-or-ptx-code-on-gpu.html for more details about matlab and parallel computing.


0

There are some restrictions to using arrayfun. You can read the restrictions here. Judging from the error, you cannot use indexes the way you are. You probably have to create separate GPU arrays for $ V_{t+1} $ and $V_t$. I suggest that you find similar examples in Matlab's website and try to replicate its functionality. Here is an article with ...



Top 50 recent answers are included