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 --process-dependency-links kerncraft

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

Uploaded Source

Built Distributions

kerncraft-0.2.3-py3-none-any.whl (135.7 kB view details)

Uploaded Python 3

kerncraft-0.2.3-py2-none-any.whl (135.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.2.3.tar.gz
Algorithm Hash digest
SHA256 981def792db0b6a280b254ecf7e42bd0709b75634b12356c3dbfa17577b2e72d
MD5 bb431ed297e0e338cabf94fc9b0b5f79
BLAKE2b-256 16431d9bb3c14cd8368ed4a1e7ba4f1c1d81ded96b76e297e27d1d87e5bc5e6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5559d6b171b7abc7a6769d02c5655f52f2e5876a60944c39bbd09265e9d7faa6
MD5 2eba5f66a886c3b8476d4a4a32d00f4b
BLAKE2b-256 9e24e921accc31e927a7b1054293d5bc4db236b61d5afd8411b9a379fcdfd840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.3-py2-none-any.whl
Algorithm Hash digest
SHA256 2594c0e26b00cd40866618ed57f4f1eb2d0812edcfefc2fca5c1c9940088e667
MD5 ab022f609e8c15057222a23adb3aade7
BLAKE2b-256 2425492fa292af858f33fe8655c5c7a41ac43f4b6c3964abd95750a13d8c1fd4

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