+/pykokkos
git clone https://git.julia.blue/+/pykokkos
1a80dfe
master
files
| examples/ | |
| papers/ | |
| pykokkos/ | |
| .gitignore | 95 B |
| README.md | 938 B |
| TODO.txt | 1.8 KiB |
| design.md | 5.9 KiB |
| setup.py | 217 B |
PyKokkos
This project is an attempt to utilize Python to initialize and orchestrate Kokkos workloads. An additional feature is using Python to C++ translation to enable writing even the performance sensitive work units in pure Python.
Usage
Setting up your environment
Clone pykokkos and in its root directory run pip install --user -e .
You also need to download the Kokkos library to $HOME/projects/kokkos. This
location will be configurable in the future.
git clone https://github.com/kokkos/kokkos.git$ HOME /projects/kokkos
Kokkos also requires a C++11 compiler, and the different backends require other tools. For example if you're using a GPU you need nvcc.
As for Python, version 3.8 or later is required and the following packages are required
Running examples
Simply navigate to examples/ and run python add1.py
Writing your own workloads
TODO