Skip to content

Consolidate codegen and JIT modules.

Frederik Hennig requested to merge fhennig/codegen-module into v2.0-dev

Consolidate all code-generation related front-end APIs into pystencils.codegen module. Consolidate all JIT-related front-end APIs into pystencils.jit.

First part of #116.

pystencils.codegen

The codegen module consolidates target, config, kernelcreation, backend.properties and backend.kernelfunction. It is home to the code generation drivers, their configuration, invocation APIs, and output objects. The drivers internally invoke the backend; backend APIs are now no longer exposed to the user (apart from some exceptions).

pystencils.jit

The jit module is moved out of backend (where it never really belonged). It shall be the home of all JIT-related APIs and functionality.

Merge request reports