Double precision floating point in CUDA

前端 未结 4 1131
盖世英雄少女心
盖世英雄少女心 2020-12-10 02:56

Does CUDA support double precision floating point numbers?

Also, what are the reasons for the same?

4条回答
  •  遥遥无期
    2020-12-10 03:46

    If your GPU has compute capability 1.3 then you can do double precision. You should be aware though that 1.3 hardware has only one double precision FP unit per MP, which has to be shared by all the threads on that MP, whereas there are 8 single precision FPUs, so each active thread has its own single precision FPU. In other words you may well see 8x worse performance with double precision than with single precision.

提交回复
热议问题