Is there a way to test gpu functions on a computer without a gpu card?

I'd like to test code with gpu function from the Parallel Computing toolbox on a computer without an NVIDIA GPU card. Is there an emulator or some workaround so that I can run gpu functions (slowly) just to make sure that code works before running it on a GPU-equipped computer?

Answers (1)

No, I'm afraid not. The only thing you can really do is to run the code on the CPU and check that works. Ideally your MATLAB code would be identical except for the use of gpuArrays vs normal arrays.
Another solution is to buy some time on Amazon EC2 and run your code on a cloud machine with a GPU.

Asked:

on 31 Jan 2015

Answered:

on 2 Feb 2015

Community Treasure Hunt

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

Start Hunting!