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: pip install --user kerncraft for the latest release, or python ./setup.py install if you cloned this repository.

Additional requirements are:
  • Intel IACA tool, with (working) iaca.sh in PATH environment variable (used by ECM, ECMCPU and RooflineIACA 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/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.0.tar.gz (160.7 kB view details)

Uploaded Source

Built Distributions

kerncraft-0.4.0-py3-none-any.whl (164.8 kB view details)

Uploaded Python 3

kerncraft-0.4.0-py2-none-any.whl (164.9 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for kerncraft-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dbb34c76a5a5276d2d1abad6a0456a3e565fb442a12e084f7dc93a36546c362d
MD5 ab8133008459a5a3d74030373374082c
BLAKE2b-256 e02e86e176db5c4a982bf081604c109347b72d20cd80ea53c9113f134c3d0626

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cca183a85d34f45ec6b69563d5fb2c53767436d421dcd6ade8383151b3607f3c
MD5 30cf9b3a59dd189acdb9eb8f7c224095
BLAKE2b-256 619f0a560833480cb07153588f058fff5ce962ccafe56b442d751fa9bd035cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kerncraft-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 c5599fb1f95cfd23590963327518b99a795f902efce27acd54dd04cc0b636094
MD5 c372ce9a9a7f1b79551b763803ace9fa
BLAKE2b-256 01571f6ae6829ea0f52a8aab018cbe5e31512d0e1fd3daa3318dc60f1447e488

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