Timing CUDA operations

后端 未结 5 1948
走了就别回头了
走了就别回头了 2020-12-02 23:48

I need to time a CUDA kernel execution. The Best Practices Guide says that we can use either events or standard timing functions like clock() in Windows. My pro

5条回答
  •  日久生厌
    2020-12-03 00:42

    If you want to measure GPU time you pretty much have to use events. Theres a great discussion thread on the do's and don'ts of timing your application over on the nvidia forums here.

提交回复
热议问题