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

Uploaded Source

Built Distributions

kerncraft-0.6.8-py3.6.egg (153.5 kB view details)

Uploaded Source

kerncraft-0.6.8-py3.5.egg (156.0 kB view details)

Uploaded Source

kerncraft-0.6.8-py3.4.egg (156.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.6.8.tar.gz
Algorithm Hash digest
SHA256 0d0226b52ad86a4e2c72c22aa7e242d3921434b025d9c68f1d397fc046801611
MD5 2255be8f43a807690c49e9bde99c9e07
BLAKE2b-256 5d4660234c552d64f6942f9d51bd9e1c24b72b1c8a8a2fc27fb5cf37435c9d48

See more details on using hashes here.

File details

Details for the file kerncraft-0.6.8-py3.6.egg.

File metadata

File hashes

Hashes for kerncraft-0.6.8-py3.6.egg
Algorithm Hash digest
SHA256 8dd46b7aebb028fae4df41eccdb3fb5faa0a15f73c83ddbed68ad14d453cf9ff
MD5 daa1f4048a934404ca96d86364ee4d30
BLAKE2b-256 59ce24d211055d23ed77a90bb4651c3b0c03ab6d041c5f843a35668fa95800d2

See more details on using hashes here.

File details

Details for the file kerncraft-0.6.8-py3.5.egg.

File metadata

File hashes

Hashes for kerncraft-0.6.8-py3.5.egg
Algorithm Hash digest
SHA256 bea3b2511e101042e88e1d0fa589424ab1000ddca1aff3f7ba78abeda096a347
MD5 d0378d20ab3b8f5e901ac70e469e1d0f
BLAKE2b-256 0fd39c40d0a5b7b4226b02c44371faf8e1e1481994c647220edfefd4de7e923f

See more details on using hashes here.

File details

Details for the file kerncraft-0.6.8-py3.4.egg.

File metadata

File hashes

Hashes for kerncraft-0.6.8-py3.4.egg
Algorithm Hash digest
SHA256 e15f3f8801e2be481d3a7e0643c70e6cc5a6489fffc25ecb14fe2e3047a6e493
MD5 5f6bdb918978870d3e57940c2b3c20f6
BLAKE2b-256 9f68a403e456afd0080406ec7f055de7c79dd70486be071ecef959382e747caa

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