There was an error fetching the commit references. Please try again later.
Introduce Type Uniquing Mechanism
- Introduce metaclass PsTypeMeta - Refactor __args__ protocol to exclude const - Move PsType and PsTypeMeta to types/meta.py - Rename basic_types.py to types.py - Adapt test cases to check for identity
Showing
- src/pystencils/backend/ast/expressions.py 2 additions, 2 deletionssrc/pystencils/backend/ast/expressions.py
- src/pystencils/backend/constants.py 7 additions, 7 deletionssrc/pystencils/backend/constants.py
- src/pystencils/backend/kernelcreation/typification.py 5 additions, 5 deletionssrc/pystencils/backend/kernelcreation/typification.py
- src/pystencils/backend/platforms/generic_gpu.py 5 additions, 3 deletionssrc/pystencils/backend/platforms/generic_gpu.py
- src/pystencils/sympyextensions/pointers.py 1 addition, 1 deletionsrc/pystencils/sympyextensions/pointers.py
- src/pystencils/sympyextensions/typed_sympy.py 1 addition, 1 deletionsrc/pystencils/sympyextensions/typed_sympy.py
- src/pystencils/types/__init__.py 3 additions, 4 deletionssrc/pystencils/types/__init__.py
- src/pystencils/types/meta.py 140 additions, 0 deletionssrc/pystencils/types/meta.py
- src/pystencils/types/parsing.py 5 additions, 5 deletionssrc/pystencils/types/parsing.py
- src/pystencils/types/quick.py 1 addition, 1 deletionsrc/pystencils/types/quick.py
- src/pystencils/types/types.py 30 additions, 129 deletionssrc/pystencils/types/types.py
- tests/nbackend/kernelcreation/test_typification.py 3 additions, 0 deletionstests/nbackend/kernelcreation/test_typification.py
- tests/nbackend/types/test_types.py 24 additions, 13 deletionstests/nbackend/types/test_types.py
Please register or sign in to comment