Coder Social home page Coder Social logo

cpufp's Introduction

cpufp

This is a cpu tool for testing the floating-points peak performance. Now it supports linux and x86-64 platform. It can automatically recognize the x86 instruction sets and select the proper set to do test.

build: sh build.sh

test: ./cpufp num_cores

clean: sh clean.sh

Example on Intel i7 4790K(Haswell, 4 cores, 8 threads, fixed at 4GHz): $ ./cpufp 1 Core used: 1 FP32 perf: 127.8892 GFLOPS. FP64 perf: 63.9466 GFLOPS. $ ./cpufp 2 Core used: 2 FP32 perf: 255.7734 GFLOPS. FP64 perf: 127.8866 GFLOPS. $ ./cpufp 4 Core used: 4 FP32 perf: 511.5616 GFLOPS. FP64 perf: 255.7780 GFLOPS. $ ./cpufp 8 Core used: 8 FP32 perf: 511.5075 GFLOPS. FP64 perf: 255.7590 GFLOPS.

The next version may support ARMv7 and ARMv8 architectures. Welcome for bug reporting.

cpufp's People

Contributors

pigirons avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.