Using both a GPU and CPU for parallelization

I am looking to parallelise a dynamic simulation, it has a large amount of simple data to pre-process via lookup tables which I was hoping to do with a GPU before running the actual complex analysis that will require a CPU. Is there any way to set up the pool to use GPU and the a CPU at different points in the code?
Thanks

1 commentaire

KSSV
KSSV le 31 Oct 2017
Class of gpuArray runs on the gpu device.....if not on the cpu...

Connectez-vous pour commenter.

Réponses (0)

Catégories

Commenté :

le 31 Oct 2017

Community Treasure Hunt

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

Start Hunting!

Translated by