Skip to content

Commit 4213235

Browse files
author
zhouyingfeng
committed
update the chinese doc for gpu-profiling
also, fix another code reference error in en doc. resolve #834
1 parent 499376f commit 4213235

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/howto/optimization/gpu_profiling_cn.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PaddlePaddle 中的性能分析
1+
PaddlePaddle 性能分析与调优
22
=====================================
33

44
此教程将向您分步介绍如何使用内置的定时工具、 **nvprof** 或 **nvvp** 来运行性能分析和调优。
@@ -201,15 +201,15 @@ nvvp 工具
201201
:scale: 33%
202202
203203
从内核函数的角度, **nvvp** 可以精确说明一个长耗时操作的具体原因。
204-
同时,如下图所示, **nvvp** 的内核block使用情况、register使用情况和共享内存使用情况能让我们对GPU的整体使用有更好的理解
204+
同时,如下图所示, **nvvp** 的内核block使用情况、寄存器使用情况和共享内存使用情况能让我们对GPU的整体使用有更好的理解
205205
206206
207207
.. image:: nvvp2.png
208208
:align: center
209209
:scale: 33%
210210
211211
而从应用的角度, **nvvp** 可以帮您提供一些定位性能瓶颈的建议。
212-
例如,下图中就展示了一些关于data movement和compute utilization的建议,为您做性能调优提供了方向。
212+
例如,下图中就展示了一些关于内存数据迁徙和计算资源利用率的建议,为您做性能调优提供了方向。
213213
214214
.. image:: nvvp3.png
215215
:align: center

doc/howto/optimization/gpu_profiling_en.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ above profilers.
5353

5454
.. literalinclude:: ../../../paddle/math/tests/test_GpuProfiler.cpp
5555
:language: c++
56-
:lines: 111-124
56+
:lines: 137-151
5757
:linenos:
5858

5959
The above code snippet includes two methods, you can use any of them to profile the regions of interest.

0 commit comments

Comments
 (0)