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

Uploaded Source

Built Distributions

kerncraft-0.3.4-py3-none-any.whl (142.2 kB view details)

Uploaded Python 3

kerncraft-0.3.4-py2-none-any.whl (142.2 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.3.4.tar.gz
Algorithm Hash digest
SHA256 b01227f99a9bcbc61f1641580c661f518e3584e249b80198c4170ad048cbbf53
MD5 76ac4ac53097331fcc9780d93ba293df
BLAKE2b-256 3914adf7e6bf655f02c43d566f9e8df4bb711bf47a136741d1b00f0090256569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1c9513b42a83b12ab961728a72d2503da929340fdf2fd769a66bada6f80eab29
MD5 3436c77ebbfff502dfe343da2910b867
BLAKE2b-256 6ce15db037365b4d64d734761e66eabf77678e9d9c87368d850b684f47861d38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.4-py2-none-any.whl
Algorithm Hash digest
SHA256 17b74ee822b24fecd9cd33b8a416b0fb4f9f4c07a42f175f99377432a5d0724b
MD5 0ab713af20d31b2951380d67c2e2042d
BLAKE2b-256 3d170ede36a6231079276611e4fda64989e17e1712bf7896d607b70c0fd0aa4f

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