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

On most systems with python pip and setuputils installed, just run: pip install --user kerncraft for the latest release.

If you want to build from source: Clone this repository and run python ./setup.py install.

If you are unfamiliar with python, here is a tutorial on how to install python packages: https://packaging.python.org/installing/ . The use of virtual enviornments is usually a good choice.

Additional requirements are:

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

Uploaded Source

Built Distributions

kerncraft-0.4.8-py3-none-any.whl (168.0 kB view details)

Uploaded Python 3

kerncraft-0.4.8-py2-none-any.whl (167.9 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.4.8.tar.gz
Algorithm Hash digest
SHA256 46870b67712d0f880fecb00c181d1dfa7f3065208e7498a5af6f29d8ddc8714f
MD5 24559f006aeb21dca2349e649cea7870
BLAKE2b-256 155f7a31ae2fbda9178df3fefd94e68fcbeebba569664226dd6940ab2b62be0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 398eb11085fd63009a1221fa9b06081bf4d3e0ee9a65900944400a8f8ed7204c
MD5 cb073b4ffbeb9173d33de9a795b1935c
BLAKE2b-256 c41b30ae2c5256ab4b6a0222d5aa10b7947f48de0aca8712c20179614a014dde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.8-py2-none-any.whl
Algorithm Hash digest
SHA256 87fdc0c9dc4bf9555f17691d70bf9369aba9e519791c252eee1d41e07a798c05
MD5 0aaf1c7fd37153a03eb6f973ae446773
BLAKE2b-256 ca4a54c75fcf056b62539011848cbef3259ca6d181110243937fdb11722d57a4

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