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

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

Uploaded Source

Built Distributions

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

Uploaded Python 3

kerncraft-0.4.3-py2-none-any.whl (167.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.4.3.tar.gz
Algorithm Hash digest
SHA256 24e27c9e1bb63683b3cab9dc2a3af35a48c22d5ad69550b508887775afdbf326
MD5 0b499271444486bb8f2d4f2bd244477c
BLAKE2b-256 765dd0d1565a04412a690cb71f6ced2b3996873901c4f84038c44791dd614466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bbb1a6eb421811e9c6c66b05d4c58a0c6ee0221f08bd2ff9b61b05098259cc9c
MD5 031789034db348e3da383c79b9576ac7
BLAKE2b-256 6146725daccfe0feb0f025daf53c166ba001ac23df6a23086d5c0e027395d5b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.3-py2-none-any.whl
Algorithm Hash digest
SHA256 4f8c6ccf480535ff15b5a21b51a0b02e001cf25649b84bb770c22bec7d5515cd
MD5 0ef9af0e1c13c2dbd86667fccd18e102
BLAKE2b-256 52e8de794b249b41b49e6de7dcb9d134e127ddeceb59c1cb438dffe5ad62d340

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