-
- Downloads
Add `pystencils.make_python_function` used for KernelFunction.compile
`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.
Showing
- pystencils/__init__.py 3 additions, 3 deletionspystencils/__init__.py
- pystencils/astnodes.py 3 additions, 0 deletionspystencils/astnodes.py
- pystencils/gpucuda/kernelcreation.py 1 addition, 1 deletionpystencils/gpucuda/kernelcreation.py
- pystencils/kernelcreation.py 18 additions, 0 deletionspystencils/kernelcreation.py
Loading
Please register or sign in to comment