Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will C++ AMP run on a machine without a compatible GPU?

I understand that C++ AMP is accelerated by GPUs that support DirectX 11.
However, my question is, if the compiled C++ AMP program is run on a machine without a DirectX 11 compatible GPU, what happens?

Does it get emulated by some software implementation of DirectCompute?
Does it get executing on the CPU (perhaps using SSE style instructions)?
Or, does it just fail to execute?

like image 507
Jonathan DeCarlo Avatar asked Dec 02 '11 19:12

Jonathan DeCarlo


People also ask

What is Stdpar?

An NVC++ command-line option, -stdpar , is used to enable GPU-accelerated C++ Parallel Algorithms. Lambdas, including generic lambdas, are fully supported in parallel algorithm invocations. No language extensions or non-standard libraries are required to enable GPU acceleration.


1 Answers

Indeed C++ AMP has a CPU fallback (multi-core plus SSE) implementation called WARP (aka "Microsoft Basic Render Driver"): http://www.danielmoth.com/Blog/Running-C-AMP-Kernels-On-The-CPU.aspx

like image 117
Daniel Moth Avatar answered Sep 21 '22 07:09

Daniel Moth