Answered Cuda and C++ AMP double precision

  • Tuesday, March 27, 2012 4:46 PM
     
     

    Dear all

       I have a question regarding double precision in C++ AMP. I have an NVIDIA GTS 450, and two version of the same program, one in CUDA and the other one in C++ AMP. The C++ AMP version, in the case I use double precision just crash, with float it is working. This is reasonable because the video card should not support the double precision.

    The CUDA version is working with double,without problems. I compile using what they suggest here http://www.herikstad.net/2009/05/cuda-and-double-precision-floating.html in order to have support of double-precision floating-point math.

    Moreover reading this http://techreport.com/articles.x/19619 it seems that my videocard can process double-precision floating-point math, and with CUDA does.

    Why is not possible with C++ AMP?

    Thanks a lot for your help

    Stefano

All Replies