NVIDIA Tesla’s support for C++ AMP

Some have asked whether Tesla cards from NVIDIA supports C++ AMP. The short answer is all Tesla cards, except for Tesla K20 Active Accelerator for workstation, supports C++ AMP.

One of the benefits of C++ AMP is the portability across GPU cards. The easiest way to check whether a card supports C++ AMP or not, is to check for its DirectX 11 support. In case of Tesla cards, to use C++ AMP, you will have to switch GPU Operation Mode (GOM) from compute-only to ALL_ON (using nvidia-smi’s –gom option) and then switch the Driver model from TCC to WDDM (using nvidia-smi’s –driver-model option). Refer to NVIDIA’s nvidia-smi documentation for more details. Only K20 Active Accelerator for workstation card does not allow this switching.

Another way to check whether C++ AMP can run on your device or not is to programmatically invoke accelerator:: get_all() method as described in the book on C++ AMP. For those who would like an executable instead of code sample, download the utility in the “Can I Run C++ AMP on My Device” blog post and execute it to see the output.

Comments (4)

  1. 3DMashUp says:

    The Tesla card aren't in expensive. The thought of buying a K20 or a K40 and having install it  in a system and run a C++AMP  application on to see if its compatible is just nonsense. We need clear  and specific information from all the vendors MSFT and Nvidia on what card and O/S are supported in what modes. Otherwise it just diminishes the reputation of GPU accelerated computing and adds to any FUD that's out there.

  2. 3DMashUp,

    At the time of writing the above post the information we obtained from NVIDIA was that "all Tesla cards, except for Tesla K20 Active Accelerator for workstation, supports C++ AMP".

    Please note that while we strive to provide our users with the necessary data, the definitive answer to the support question may be best answered by NVIDIA support channels.

    Having said that, is there a specific card you are considering that you have doubts about?

  3. exatto says:

    Where can I find the accurate information about whether C++ AMP is supported by Tesla K40 or not ?

  4. RogerZhao says:

    I'm refactoring our image rendering subsystem using C++ Amp instead of CPU ppl。Our Hardware GPU is NVIDIA. But on NVIDIA develop web site, I found that amp is no longer supported by the debug tool Nsight from the 4.1 Release. I'm very disappointed for NVIDIA! What's your comments? Can you confirm this?  The original release statement is as follows:


    Changed Features and Fixed Issues in the 4.1 Release of the Graphics Debugger

    Support for Visual Studio 2008 has been removed.

    C++ AMP support has been removed.

    The variable value display has been improved for the Direct3D 11 shader pages.