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

Uploaded Source

Built Distributions

kerncraft-0.3.1-py3-none-any.whl (140.2 kB view details)

Uploaded Python 3

kerncraft-0.3.1-py2-none-any.whl (140.2 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.3.1.tar.gz
Algorithm Hash digest
SHA256 365a7533389e1b39e2bfe1aed030a53cd652ce3ab728e57c14f809ad36751039
MD5 04e4c220bfca3efbfd50818019ba805d
BLAKE2b-256 ead43cc504421a626d72def58c2af80495ae3d913f191565b56cc52ddcfee776

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b01c792ce3402311b251e10719c8f75dfee317fc1b2f36bcdb8766bbe8ef7ee1
MD5 73557022e6dbffcd7d84c4d7209f586c
BLAKE2b-256 25ddf7fba029fee435836b40070a149f1ffbe9b3899edb4542e88576b08fb53e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5ea3a034772e3c5f33ee68b3fddff3fbbdc8b412d7344d25e66b8c0e90a85e02
MD5 af5767f8f31680b5297fa10a4c78f134
BLAKE2b-256 fc30284f7e5be766d1313ec936c392d07d6cb4094c1111c727f47d4298a39bc5

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