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

Uploaded Source

Built Distributions

kerncraft-0.3.6-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

kerncraft-0.3.6-py2-none-any.whl (145.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.3.6.tar.gz
Algorithm Hash digest
SHA256 bacdb76a4df6c4f49462d5650bd1c00bb242d03d613407232aa66ad5d1d58d2d
MD5 4aae65b62194e20cb18042e26d944542
BLAKE2b-256 14ce103e67d40b5826a3242c31fc2fa030edb1642769f385383608739497c19a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e92783dac852fcc7dd77c3880d6eaa59c267a4f10acd09261a52f264ba261a3d
MD5 70df502ae843319a43bf0c1c6d181aa1
BLAKE2b-256 a4e68599122ad8e208277386816617bef12e16da218ddc28660924a82510e4aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.6-py2-none-any.whl
Algorithm Hash digest
SHA256 a820f8f0e0688b9f92a03caddf70fbc6902ae814d4bd716761a3b5706a722611
MD5 ba14213fc1340356324c8113c4361142
BLAKE2b-256 ade7123efafdf409393c69d74b2354f6bcae4c95d0a930202056bd0274fb87ee

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