Skip to content
Snippets Groups Projects

Add `pystencils.make_python_function` used for KernelFunction.compile

Closed Stephan Seitz requested to merge seitz/pystencils:make_python_function into master
Compare changes
  • Side-by-side
  • Inline
Files
6
  • `KernelFunction.compile = None` is currently set by the
    `create_kernel` function of each respective backend as partial function
    of `<backend>.make_python_function`.
    
    The code would be clearer with a unified `make_python_function`.
    `KernelFunction.compile` can then be implemented  as a call to this
    function with the respective backend.
Loading