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

Uploaded Source

Built Distributions

kerncraft-0.3.0-py3-none-any.whl (140.0 kB view details)

Uploaded Python 3

kerncraft-0.3.0-py2-none-any.whl (140.0 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cde6932251277dca8a46e73f831997c2de4551c26b98fb7cc2b84913e51b1c06
MD5 36580025b19dcb398a1373dcab536549
BLAKE2b-256 66e6b234a16fb157243a059fc21e937fcd2edd5c9f06316074b220e2ffb2c351

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b301c05d4e4d9f1ab8e31042cd59c59f326a4cfd3c455e22cafc64e9abb5b1f4
MD5 15b816ac940957d6b51035b899fcea7d
BLAKE2b-256 b94ab2ff66a9c561829a9ee2710f3b034b367470a973becebfb6e41797720e7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 fd088dca40d5440fa3d699c1d81eedde3ce21691acc234bae8030a58fc2257cb
MD5 dc6fd24c12af32b5b390a3093bbed625
BLAKE2b-256 2b1711537bc5ea17b1dde9218e4073e6fa322f7b29638d9b731428e2433bb36b

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