Paddle
Paddle copied to clipboard
新网站中英文并存的页面
比如在GPU性能分析与调优页面中 有英文和汉语并存的
Usually, processor has two key performance limits include float point throughput and memory throughput. For GPU, it also need more parallelism to fulfill its potential. This is why they can be so fast.
通常情况下,处理器有两个关键性能限制:一个是浮点计算量,另一个是内存操作量。 GPU则还需要高并行性,才能发挥其全部能力。这正是它们速度快的原因。
test_GpuProfiler from paddle/math/tests directory will be used to evaluate above profilers.
paddle/math/test 目录中的 test_GpuProfiler 就是用于展示上述分析工具的用法。
- REGISTER_GPU_PROFILER is a general purpose wrapper object of cudaProfilerStart and cudaProfilerStop to avoid program crashes when CPU version of PaddlePaddle invokes them.
REGISTER_GPU_PROFILER 是一个封装对象,封装了 cudaProfilerStart 和 cudaProfileStop 两个操作;同时其内部实现可以避免纯CPU版本PaddlePaddle在执行本语句时发生崩溃。