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

This version

0.2.8

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

Uploaded Source

Built Distributions

kerncraft-0.2.8-py3-none-any.whl (139.8 kB view details)

Uploaded Python 3

kerncraft-0.2.8-py2-none-any.whl (139.8 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.2.8.tar.gz
Algorithm Hash digest
SHA256 a98c7a52374d8eeef86b0389cf4f57e2dec3f37f7ee40aaf17bf984f68e436c2
MD5 1208260abde257895865c345c14d78ae
BLAKE2b-256 6e033a4c4036c2ff7af97c0f262398a3f1c20b8c21b7f9e5f866249c73e17075

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6720ee6682669a1608556f700735b3d454adb8fa90272b52a3abf3a5dab1e016
MD5 66433c6efeb7f2d08f831a4a6bc48464
BLAKE2b-256 f6f33eb7c170c86b9ab92b24b20b4ab494dbc39d1056e2a4a8def48271e66178

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.8-py2-none-any.whl
Algorithm Hash digest
SHA256 1724b3b432661071eed40bb7597226af8b8f11dd0d120ea6d209b3e666047181
MD5 73ca90ae9c2392c369039cdc67bdff78
BLAKE2b-256 18d60a0b56cc2d63eb6ca99a1d401ca79b8cf517a989d711b7692261708d238c

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