Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Draft: Code generation for arithmetic kernels via pystencils#596

Open
RichardAngersbach wants to merge 126 commits intoparflow:masterparflow/parflow:masterfrom
RichardAngersbach:masterRichardAngersbach/parflow:masterCopy head branch name to clipboard
Open

Draft: Code generation for arithmetic kernels via pystencils#596
RichardAngersbach wants to merge 126 commits intoparflow:masterparflow/parflow:masterfrom
RichardAngersbach:masterRichardAngersbach/parflow:masterCopy head branch name to clipboard

Conversation

@RichardAngersbach
Copy link
Copy Markdown

@RichardAngersbach RichardAngersbach commented Mar 26, 2025

This PR integrates code generation via the pystencils Python module into Parflow to provide an alternative solution for achieving performance-portability. This work is conducted in the scope of the EoCoE3 project.

Currently, the following kernels have been replaced:

vector_utilities.c:

  • PFVLinearSum
  • PFVProd
  • PFVDotProd
  • PFVL1Norm

TODOs:

  • Documentation/README
    • Setup guide
    • CMake guide
  • Further replacements for vector utilities or kernels of the non-linear function evaluation
  • Enabling code generation for CUDA/HIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog
Status: Backlog / DRAFT

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.