Encapsulate mapping of binop strings to actual operands and now also use for...
Encapsulate mapping of binop strings to actual operands and now also use for considering initial value of passed reduction pointer value
Showing
- src/pystencils/backend/kernelcreation/freeze.py 6 additions, 19 deletionssrc/pystencils/backend/kernelcreation/freeze.py
- src/pystencils/codegen/driver.py 4 additions, 3 deletionssrc/pystencils/codegen/driver.py
- src/pystencils/sympyextensions/binop_mapping.py 31 additions, 0 deletionssrc/pystencils/sympyextensions/binop_mapping.py
- tests/kernelcreation/test_reduction.py 15 additions, 14 deletionstests/kernelcreation/test_reduction.py
Please register or sign in to comment