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/.
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
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
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)
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.
Citations
When using Kerncraft for your work, please consider citing the following publication:
Kerncraft: A Tool for Analytic Performance Modeling of Loop Kernels (preprint)
J. Hammer, J. Eitzinger, G. Hager, and G. Wellein: Kerncraft: A Tool for Analytic Performance Modeling of Loop Kernels. In: Tools for High Performance Computing 2016, ISBN 978-3-319-56702-0, 1-22 (2017). Proceedings of IPTW 2016, the 10th International Parallel Tools Workshop, October 4-5, 2016, Stuttgart, Germany. Springer, Cham. DOI: 10.1007/978-3-319-56702-0_1, Preprint: arXiv:1702.04653``
Credits
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
Built Distributions
File details
Details for the file kerncraft-0.7.1.tar.gz
.
File metadata
- Download URL: kerncraft-0.7.1.tar.gz
- Upload date:
- Size: 127.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b80b98040f7b159a00ed33898ff731d7389f6b7cadaf8017f2ade80728a9609 |
|
MD5 | dc47d5b525a8bed3ec12b51ea8b64265 |
|
BLAKE2b-256 | c3699ac4a888d90266234a77d04105de309523670a1f9997e35636008da64301 |
File details
Details for the file kerncraft-0.7.1-py3.6.egg
.
File metadata
- Download URL: kerncraft-0.7.1-py3.6.egg
- Upload date:
- Size: 155.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf443a15bb8e7b2ad5a6a601dba8955a14eb076f0639202ee17fc5e59108ae7 |
|
MD5 | bdeed56a200b5cb123c248bfa90f824d |
|
BLAKE2b-256 | 27e1991f1ee8c6748aec57fe516198c1fd2c02e2a6f5bf73ac3eb56f306ca631 |
File details
Details for the file kerncraft-0.7.1-py3.5.egg
.
File metadata
- Download URL: kerncraft-0.7.1-py3.5.egg
- Upload date:
- Size: 158.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dd7d124238e54747b79a7615f6dac05953cfd95c778156464f7e38ca73d8547 |
|
MD5 | e7933943e942ca7abe53c4582873fd5e |
|
BLAKE2b-256 | e66e0e5fd32178256d30aa0892a33b9b78c0a739ad2bc7a98f2ef5d33191bda9 |
File details
Details for the file kerncraft-0.7.1-py3.4.egg
.
File metadata
- Download URL: kerncraft-0.7.1-py3.4.egg
- Upload date:
- Size: 158.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.4.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3109bd2a220ec56f9d0adeac60f62a8fc34fc5847ed7f79b7adf14fe06c25710 |
|
MD5 | 28e254e5158ebcaf359fd3c15250cd21 |
|
BLAKE2b-256 | 0719e9e82e8ce3b987643149332a41159f416e1c557fecea89d9fab08874de52 |