CUDA performance penalty when running in Windows

前端 未结 2 1017
谎友^
谎友^ 2020-12-30 09:09

I\'ve noticed a big performance hit when I run my CUDA application in Windows 7 (versus Linux). I think I may know where the slowdown occurs: For whatever reason, the Win

2条回答
  •  不思量自难忘°
    2020-12-30 09:50

    Even it's been almost 3 years since the issue has been active, I still consider it necesssary to provide my findings.

    I've been in the same situation: the same cuda programme elapsed for 5ms in Ubuntu cuda 8.0 while over 30ms in Windows 10 cuda 10.1. Both with GTX 1080Ti. However, in Windows when I changed the compiler from VS Studio to cmd's nvcc compiler suddenly the programme was boosted to the same speed as the Linux one.

    This suggests that maybe the problem comes from Visual Studio.

提交回复
热议问题