Skip to main content

Loop Kernel Analysis and Performance Modeling Toolkit

Project description

https://github.com/RRZE-HPC/kerncraft/blob/master/doc/logo/logo-lightbg.svg

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

On most systems with python pip and setuputils installed, just run:

pip install --user kerncraft

for the latest release. In order to get the Intel Achitecture Code Analyzer (IACA), required by the ECM, ECMCPU and RooflineIACA performance models, read this and run:

iaca_get --I-accept-the-Intel-What-If-Pre-Release-License-Agreement-and-please-take-my-soul

Additional requirements are:
  • 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/SandyBridgeEP_E5-2680.yml

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 SandyBridgeEP_E5-2680.yml 2d-5pt.c -D N 10000 -D M 10000 add -vv for more information on the kernel and ECM model analysis.

Citations

When using Kerncraft for your work, please consider citing the following publication:

Kerncraft: A Tool for Analytic Performance Modeling of Loop Kernels (preprint)

J. Hammer, J. Eitzinger, G. Hager, and G. Wellein: Kerncraft: A Tool for Analytic Performance Modeling of Loop Kernels. In: Tools for High Performance Computing 2016, ISBN 978-3-319-56702-0, 1-22 (2017). Proceedings of IPTW 2016, the 10th International Parallel Tools Workshop, October 4-5, 2016, Stuttgart, Germany. Springer, Cham. DOI: 10.1007/978-3-319-56702-0_1, Preprint: arXiv:1702.04653``

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

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

Uploaded Source

Built Distributions

kerncraft-0.6.9-py3.6.egg (153.8 kB view details)

Uploaded Source

kerncraft-0.6.9-py3.5.egg (156.3 kB view details)

Uploaded Source

kerncraft-0.6.9-py3.4.egg (156.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.6.9.tar.gz
Algorithm Hash digest
SHA256 805d5aaf13b2df7d9e6f3ae855b85631752db09a0b4ba0f149e8db3317da78e7
MD5 7f108e61a3502421f73b1126c6bac358
BLAKE2b-256 9ca83a1efe0c08a87a71bd51eb3e3a3e3dedf0d28a1919900d425178c4d424b7

See more details on using hashes here.

File details

Details for the file kerncraft-0.6.9-py3.6.egg.

File metadata

File hashes

Hashes for kerncraft-0.6.9-py3.6.egg
Algorithm Hash digest
SHA256 c24a6ac19a930b5d53a5e7bad09f52057502dbf52f46356c5fc5e7d3631ac459
MD5 779a6daaec504a32d1ef4e7c0750d1c0
BLAKE2b-256 f415fddeff86d74c3d176aa1ab55ca9c577453ed049b1a296e5fdab1ca1d387f

See more details on using hashes here.

File details

Details for the file kerncraft-0.6.9-py3.5.egg.

File metadata

File hashes

Hashes for kerncraft-0.6.9-py3.5.egg
Algorithm Hash digest
SHA256 cecf8ab2dd8e9f1e4c948a44f6b75c89105155ea399b6fb9925c5f868d0431ae
MD5 a42b5ee496685715d049f8927ca4434e
BLAKE2b-256 698cfbc817b8ceb56611913f60a11f2c88a35b0ed5cf1eb3c6b137cba247753b

See more details on using hashes here.

File details

Details for the file kerncraft-0.6.9-py3.4.egg.

File metadata

File hashes

Hashes for kerncraft-0.6.9-py3.4.egg
Algorithm Hash digest
SHA256 ef7a3f2e646ce2700e1ae9180ef0bd9a410bfcf185a533ff6d86d016eea79fc2
MD5 bab8a9c49a611d7809046ebbd63f3b00
BLAKE2b-256 6a562db91543d44a002e8cfedd8c3491e498be2c6db4eeb8b51a3241cb930c7b

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