Skip to content

Add Python bindings for PaRSEC (py-parsec)#765

Draft
AddiThurston wants to merge 1 commit intoICLDisco:masterfrom
AddiThurston:python-bindings
Draft

Add Python bindings for PaRSEC (py-parsec)#765
AddiThurston wants to merge 1 commit intoICLDisco:masterfrom
AddiThurston:python-bindings

Conversation

@AddiThurston
Copy link
Copy Markdown

Cython-based Python bindings exposing PaRSEC's Dynamic Task Discovery (DTD) and tiled matrix APIs to Python. Includes:

  • py_parsec package: core, dtd, matrix, runtime, and tasks modules with both .pyx (Cython) and .py (ctypes) implementations
  • Build system: setuptools-based build with pyproject.toml, integrated into CMakeLists.txt via optional PARSEC_PYTHON_BINDINGS flag
  • Examples: stencil_1D, DTD GEMM, merge sort, redistribute (DTD & PTG)
  • Tests: installation verification, DGEMM DTD accuracy, stencil 1D accuracy with pytest fixtures and MPI support
  • Stencil test utilities: result printing and element access helpers in the C stencil test for cross-validation with Python implementation

Made-with: Cursor
Signed-off-by Addison Thurston on behalf of SLU's Omni Computing Lab

Cython-based Python bindings exposing PaRSEC's Dynamic Task Discovery
(DTD) and tiled matrix APIs to Python. Includes:

- py_parsec package: core, dtd, matrix, runtime, and tasks modules
  with both .pyx (Cython) and .py (ctypes) implementations
- Build system: setuptools-based build with pyproject.toml, integrated
  into CMakeLists.txt via optional PARSEC_PYTHON_BINDINGS flag
- Examples: stencil_1D, DTD GEMM, merge sort, redistribute (DTD & PTG)
- Tests: installation verification, DGEMM DTD accuracy, stencil 1D
  accuracy with pytest fixtures and MPI support
- Stencil test utilities: result printing and element access helpers
  in the C stencil test for cross-validation with Python implementation

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant