Home

Awesome

MegPeak

Megpeak is a tool for testing processor peak computation, now support arm, x86 and GPU driven by OpenCL processor.

MegPeak can do

MegPeak can do:

Although some of the above information can be obtained by querying the data sheet of the chip, and with guidance the theoretical the peak performance can be computed, but in many cases, the detail performance documents of the target processor cannot be obtained. In addition, the result through megpeak is more direct and accurate, and it can test the peak bandwidth of arbitrary instruction combination

BUILD

MegPeak only support CMake build system and require CMake version upper than 3.15.2, you can compile the MegPeak follow the step:

Run

If you compile the project and get the megpeak, next you can copy or set the megpeak executable file to the test machine,and run it and get the help message. bash ./megpeak -h

GFlops test results for different CPUs

PlatformCPUArchitectureFrequence(GHz)GFLOPSFLOPS/Cycle
/Cortex-A7ARMV71.01.9020021.9020
/Cortex-A53ARM641.39.8449877.5731
Xiaomi Mi 9 Core 0Cortex-A55ARM641.813.5665837.537
raspberry-pi 4bCortex-A72ARM641.511.6642337.776
Xiaomi Mi 9 Core 6Cortex-A76ARM642.4238.69139915.988
Realme X7 Pro Core 4Cortex-A77ARM642.641.31800515.892
Xiaomi Mi 11 Core 6Cortex-A78ARM642.433.78144814.076
Apple MacApple M1ARM643.2102.42432.008
More details see wiki

Acknowledgement

OpenCL in MegPeak referenced the clpeak project

License

Apache-2.0