Commits on Source (12)
-
Stephan Seitz authored50f27d79
-
Martin Bauer authored
Block.subs method tried to be too smart: a = field[..] b = a + b was "simplified" incorrectly to b = field[...] + b
754c7767 -
Martin Bauer authored604bc7c0
-
Martin Bauer authored
-> different fields need different shape/stride symbols
a278f336 -
Martin Bauer authored
- previous method did not work with kernels generated for walberla where block size changes are made at runtime - device query does not always work, since the compile system may have no GPU or not the same GPU -> max block size is passed as parameter and only optionally determined by a device query
1754ef27 -
Stephan Seitz authoredde250f5a
-
Stephan Seitz authored9f79445e
-
Stephan Seitz authored
When introducing new people to pystencils it's often simpler not to differentiate between `main_assignments` and `subexpressions` in the beginning. Also for simple kernels subexpressions are often not needed, since intermediate symbols can also be set in main_assignments. Subexpression should be kept for expert users.
05119269 -
Stephan Seitz authored
This enables astnodes.Nodes to have a member required_global_declarations by which they can specify a global declaration required for their usage.
3463ff54 -
Martin Bauer authored
Address of SymPy-Function `address_of` See merge request !1
a30d5181 -
Martin Bauer authored
Make subexpressions optional for constructing an AssignmentCollection See merge request !3
6c1c7ed3 -
Martin Bauer authored
Add global_declarations to cbackend See merge request !5
8c4a6f1e
Showing
- pystencils/astnodes.py 2 additions, 8 deletionspystencils/astnodes.py
- pystencils/backends/cbackend.py 38 additions, 4 deletionspystencils/backends/cbackend.py
- pystencils/data_types.py 27 additions, 0 deletionspystencils/data_types.py
- pystencils/field.py 5 additions, 1 deletionpystencils/field.py
- pystencils/gpucuda/indexing.py 30 additions, 68 deletionspystencils/gpucuda/indexing.py
- pystencils/simp/assignment_collection.py 1 addition, 1 deletionpystencils/simp/assignment_collection.py
- pystencils_tests/test_address_of.py 58 additions, 0 deletionspystencils_tests/test_address_of.py
- pystencils_tests/test_cudagpu.py 0 additions, 5 deletionspystencils_tests/test_cudagpu.py
- pystencils_tests/test_global_definitions.py 146 additions, 0 deletionspystencils_tests/test_global_definitions.py
- pystencils_tests/test_vectorization.py 20 additions, 0 deletionspystencils_tests/test_vectorization.py
pystencils_tests/test_address_of.py
0 → 100644
pystencils_tests/test_global_definitions.py
0 → 100644