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. In order to get the Intel Achitecture Code Analyzer (IACA), required by the ECM, ECMCPU and RooflineIACA performance models, read this and run:

iaca_get --I-accept-the-Intel-What-If-Pre-Release-License-Agreement-and-please-take-my-soul

Additional requirements are:
  • 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/SandyBridgeEP_E5-2680.yml

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 SandyBridgeEP_E5-2680.yml 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.5.8.tar.gz (189.7 kB view details)

Uploaded Source

Built Distributions

kerncraft-0.5.8-py3-none-any.whl (185.9 kB view details)

Uploaded Python 3

kerncraft-0.5.8-py2-none-any.whl (186.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.5.8.tar.gz
Algorithm Hash digest
SHA256 b2a0b8086a7798a3c790be2b78ad278bd4e015777a94f7553249fea452a01579
MD5 e3c1857fbb3173a3d13ea00126a01c15
BLAKE2b-256 8f196866cbd000f4fe2e725c4f2f9a55c2d755642df7ead638beca82abcff6ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 880018dfe0b4df4028a3cd61177b2bbd9b8fc177537fd728fe4cd3338df6b8c7
MD5 281265bb8c46aa8c240dd3375523e1b7
BLAKE2b-256 5d59cd9c48924d6d4afa0fc060916699e23b24d3122ff3e065b6651b0b331367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.5.8-py2-none-any.whl
Algorithm Hash digest
SHA256 e457752ca709950944e2dfb23e1933af99ca612d6916b756095e71329538e488
MD5 1c41a7dbc32b7d0f6f14ffe06d5dff00
BLAKE2b-256 2a9ae7a8b73dcbc1b8046828fa25536535477d3e17171e3bbc3d1e9e97f61970

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