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 --user kerncraft for the latest release, or python ./setup.py install if you cloned this repository.

Additional requirements are:
  • Intel IACA tool, with (working) iaca.sh in PATH environment variable (used by ECM, ECMCPU and RooflineIACA 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/RRZE-HPC/kerncraft/master/examples/machine-files/phinally.yaml

wget https://raw.githubusercontent.com/RRZE-HPC/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 LC generalization: Julian Hammer

License

AGPLv3

Project details


Release history Release notifications | RSS feed

This version

0.4.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.4.5.tar.gz (162.8 kB view details)

Uploaded Source

Built Distributions

kerncraft-0.4.5-py3-none-any.whl (167.4 kB view details)

Uploaded Python 3

kerncraft-0.4.5-py2-none-any.whl (167.5 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.4.5.tar.gz
Algorithm Hash digest
SHA256 b2d67dcff99b6c3b7b4b6b1c7d9b2d8e905db9212c6a3b6996deadc4a6ec09df
MD5 9d9ffa8bf310b66a44cc9ae2d9cb4806
BLAKE2b-256 382843df18f832b18d31d00746cd2f7ffb17da8c88e9103c4770b0ca0ce018e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 13f067723bd864170bf9a6cf162d887132022571545240891b123f1db855d936
MD5 c3729c8a8751a95ee542eb6604c85151
BLAKE2b-256 7afcab01295cab1ce6608f11c3f5aeb596fb9a7091e46efedac4a20be3b68927

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.5-py2-none-any.whl
Algorithm Hash digest
SHA256 721aec039843a421c343ca45f12ddbb2c07097250025d21cb845cfa88730db48
MD5 e4a58ab73444d1bf23fd7029b2d5fb9f
BLAKE2b-256 4c6dac4cdd9223cf112a3ca14bfb96ffa7ed822d105edc7ff9da418b983c7d3a

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