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: pip install --process-dependency-links kerncraft

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

This version

0.2.5

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.2.5.tar.gz (133.0 kB view details)

Uploaded Source

Built Distributions

kerncraft-0.2.5-py3-none-any.whl (136.3 kB view details)

Uploaded Python 3

kerncraft-0.2.5-py2-none-any.whl (136.3 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.2.5.tar.gz
Algorithm Hash digest
SHA256 8610b0c5ae169cb7e317cc0a02fa070faec75f8502ada269952e03f499e92ecc
MD5 8aeab58ccc717b3dd472ffa62a7b8748
BLAKE2b-256 926701658bd50fa532422a747afecc004ccfb1084e022063538e556f9b5fdf57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6e314394e0547c34c3c1df0e3ef0bf4fd79b24987ca6e8f6f9300b6fbcfcc2fb
MD5 c621e2489dfd8ef18c2b565965eb0f58
BLAKE2b-256 1e7983fe366e68d1f86bd70a9fd32442c53de587a9df3bbcd63610266b53782f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.5-py2-none-any.whl
Algorithm Hash digest
SHA256 ef05207748c88c488893b5e28a8105c42b0f2aeb76c770de48e812555b85362d
MD5 19ff24c53d4998e2eba6ea30bdb475e2
BLAKE2b-256 838257e91e84220648a1517289bde77063a0dccaaca0131f5fdc16be1bed9469

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