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

This version

0.2.7

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

Uploaded Source

Built Distributions

kerncraft-0.2.7-py3-none-any.whl (137.0 kB view details)

Uploaded Python 3

kerncraft-0.2.7-py2-none-any.whl (137.0 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.2.7.tar.gz
Algorithm Hash digest
SHA256 d28bb9f1f5f811fdceb2ecb3c01314fa47d1ebf4b4d107742ad21b1304317559
MD5 11c589342aeb515eaa0b385d044fcbdc
BLAKE2b-256 a9685b309207e65648942c9744971a3d889a10e0ced268d2089d8c292013cd82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ad173e672ebba18de10e4025566210534d893260dc58759ebf562d09d9dab467
MD5 3ab99c352f6edd88ff851e781ee98a0d
BLAKE2b-256 ab82a087f4945573aa3e316d6a8b0b978ecd7d465bc9e45be9cc84de8c433e02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.2.7-py2-none-any.whl
Algorithm Hash digest
SHA256 fde99e40dfca2d35ddd052c98e413f967fe5fb4c904d2441dfc766a52cc7bc90
MD5 9478a93086815314a21bff194604da66
BLAKE2b-256 a2578f8c2ae66c7d38f2c06e5d152d0931ae179ccf9d1b042afcfb62bc3f736f

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