Skip to content
Snippets Groups Projects
Commit 66d064ae authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add pystencils.optimizations

parent 95d800b2
No related branches found
No related tags found
No related merge requests found
"""
Default Sympy optimizations applied in pystencils kernels using :func:`sympy.codegen.rewriting.optimize`.
See :func:`sympy.codegen.rewriting.optimize`.
"""
try:
from sympy.codegen.rewriting import optims_c99
except ImportError:
optims_c99 = []
optims_pystencils_cpu = [] + list(optims_c99)
optims_pystencils_gpu = [] + list(optims_c99)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment