Is there a way to test gpu functions on a computer without a gpu card?
Show older comments
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)
Joss Knight
on 2 Feb 2015
0 votes
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.
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!