PAPI
Performance Application Programming Interface
papi是一个致力于提供给程序性能测试工具访问底层硬件借口的程序包,通过papi实现对程序在运行过程中特殊寄存器(主要是用来记录运算次数)的访问,来评判当前被测试程序性能的好坏。其功能非常强大,包括了上百种硬件可记录事件(Event)的收集,能够完成大多数程序评价,尤其是针对高性能计算的程序的性能的评价的重要参数。
目前最新版本 PAPI 4.1.2.1,最新部分已经开始支持CUDA部分。
papi项目由Lab Icl,UTK发起,AMD HP IBM intel Microsoft等企业赞助
以下部分引自官网
icl.cs.utk.edu/papi/index.html
Abstract
The Performance API (PAPI) project specifies a standard application programming interface (API) for accessing hardware performance counters available on most modern microprocessors. These counters exist as a small set of registers that count Events, occurrences of specific signals related to the processor's function. Monitoring these events facilitates correlation between the structure of source/object code and the efficiency of the mapping of that code to the underlying architecture. This correlation has a variety of uses in performance analysis including hand tuning, compiler optimization, debugging, benchmarking, monitoring and performance modeling. In addition, it is hoped that this information will prove useful in the development of new compilation technology as well as in steering architectural development towards alleviating commonly occurring bottlenecks in high performance computing.
PAPI 介绍
最新推荐文章于 2021-12-14 22:47:29 发布