← back

+/pykokkos

git clone https://git.julia.blue/+/pykokkos

Joseph RyanImplement basic support for Debug ExecSpace1a80dfe

master
3 folders5 files
languages

files

examples/
papers/
pykokkos/
.gitignore95 B
README.md938 B
TODO.txt1.8 KiB
design.md5.9 KiB
setup.py217 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