Search code examples
c++gpgpuc++-ampdirectcompute

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?


Solution

  • 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