Skip to main content

Loop Kernel Analysis and Performance Modeling Toolkit

Project description

kerncraft

Loop Kernel Analysis and Performance Modeling Toolkit

This tool allows automatic analysis of loop kernels using the Execution Cache Memory (ECM) model, the Roofline model and actual benchmarks. kerncraft provides a framework to investigate the data reuse and cache requirements by static code analysis. In combination with the Intel IACA tool kerncraft can give a good overview of both in-core and memory bottlenecks and use that data to apply performance models.

For a detailed documentation see publications in doc/.

https://travis-ci.org/RRZE-HPC/kerncraft.svg?branch=master https://codecov.io/github/RRZE-HPC/kerncraft/coverage.svg?branch=master Code Health

Installation

Run: python ./setup.py install

Additional requirements are:
  • Intel IACA tool, with (working) iaca.sh in PATH environment variable (used by ECM, ECMCPU and Roofline models)

  • likwid (used in Benchmark model and by likwid_bench_auto.py)

Usage

  1. Get an example kernel and machine file from the examples directory

wget https://raw.githubusercontent.com/cod3monk/kerncraft/master/examples/machine-files/phinally.yaml

wget https://raw.githubusercontent.com/cod3monk/kerncraft/master/examples/kernels/2d-5pt.c

  1. Have a look at the machine file and change it to match your targeted machine (above we downloaded a file for a sandy bridge EP machine)

  2. Run kerncraft

kerncraft -p ECM -m phinally.yaml 2d-5pt.c -D N 10000 -D M 10000 add -vv for more information on the kernel and ECM model analysis.

Credits

Implementation: Julian Hammer ECM Model (theory): Georg Hager, Holger Stengel, Jan Treibig

License

AGPLv3

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kerncraft-0.3.2.tar.gz (138.1 kB view details)

Uploaded Source

Built Distributions

kerncraft-0.3.2-py3-none-any.whl (140.3 kB view details)

Uploaded Python 3

kerncraft-0.3.2-py2-none-any.whl (140.3 kB view details)

Uploaded Python 2

File details

Details for the file kerncraft-0.3.2.tar.gz.

File metadata

  • Download URL: kerncraft-0.3.2.tar.gz
  • Upload date:
  • Size: 138.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kerncraft-0.3.2.tar.gz
Algorithm Hash digest
SHA256 ac5ce850382c3d6a00285ad8cc32a5b0b74e4b05adf0bf7f77f73ca49fb962ce
MD5 103cad5f46ec2e5e19be8b0acf90e4a5
BLAKE2b-256 9c0bcf03abe51f02145f295c4229656b658c4498f157682221d4c44700b137c1

See more details on using hashes here.

File details

Details for the file kerncraft-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kerncraft-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6163fea2fceb0f7f9950f5297cb480d24e49dec93af522a63ed72c8bc74cdf5d
MD5 dd343300d71edbea45b5397d67606ab3
BLAKE2b-256 4ddf35752343161e84e6fbfd4fb58ef186374643ed23d46cb48e74f7a6c36c1e

See more details on using hashes here.

File details

Details for the file kerncraft-0.3.2-py2-none-any.whl.

File metadata

File hashes

Hashes for kerncraft-0.3.2-py2-none-any.whl
Algorithm Hash digest
SHA256 71cbb0435f8e0e2976441f60b79544e46c471fc1204aca2c7df4f341db4dd99e
MD5 343175a17c6d127be45c8a3c4cfb73c0
BLAKE2b-256 7efb9f4a6ae685b3f3324775472a322852121deac0bc782b98cc2c6f231eb7c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page