pykokkos
pykokkos copied to clipboard
Performance portable parallel programming in Python.
### I tried to install "pykokkos" using following [native installation instructions](https://kokkos.org/pykokkos/installation.html#native-installation). However, I had several problems, the last of which I did not solve: 1) **The first problem is that...
The README and requirements/pyproject should list python=3.12
The following example leads to an error: ``` import pykokkos as pk @pk.workunit def map_d(i): #i += 1 pass def main(): SIZE = 2 pk.parallel_for(SIZE, map_d) main() ``` This happens...
Thanks for the help @NaderAlAwar. This is just a draft PR showing how it can be done. Likely you'll want a flag in the decorator so the user can control...
Trying to fix #220
This is just a remark/suggestion: - currently the top level [README.md](https://github.com/kokkos/pykokkos/blob/main/README.md) recommends to build pykokkos-base with option `ENABLE_MEMORY_TRAITS=OFF` - doing so, when running [05_simple_atomics.py](https://github.com/kokkos/pykokkos/blob/main/examples/kokkos/05_simple_atomics.py) it fails with the following error...
Currently example [random_sum.py](https://github.com/kokkos/pykokkos/blob/main/examples/kokkos/random_sum.py) fails at compile time with the following error: ```shell Initialized view: [ 5 7 5 2 6 10 1 8 0 2] /home/kestenerp/miniconda3/envs/pykokkos/lib/python3.11/site-packages/pykokkos_base-0.0.7-py3.11-linux-x86_64.egg/include/kokkos/OpenMP/Kokkos_OpenMP_Parallel_Reduce.hpp(64): error: function "pk_functor_RandomSum::operator() [with...
Hello, I am having some issues with the PyKokkos installation. Can someone help? # System: - macOS Catalina - intel i5 4260U - OpenMPI 4.1.5 - Apple Clang 12.0.0 -...
* install the tests with `pykokkos` so that it is possible to run i.e., `pytest --pyargs pykokkos` for an installed version of `pykokkos` from any path on the filesystem *...
* modernize our `pip install` by using the [PEP518](https://peps.python.org/pep-0518/) `pyproject.toml` configuration, which basically switches us to the modern process where `pip` will first build a wheel in an isolated env...