pystencils merge requestshttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests2019-12-19T15:40:16+01:00https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/115:star: :star: :star: Add a star to correctly get atoms of InterpolatorAccess ...2019-12-19T15:40:16+01:00Stephan Seitz:star: :star: :star: Add a star to correctly get atoms of InterpolatorAccess :star: :star: :star:https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/324[Fix] Absolut field access2023-04-03T15:18:43+02:00Markus Holzer[Fix] Absolut field accessIn !319 we started to make sure that the `Field.Access` keeps the property `is_absolut_access` even when sympys simplifications or substitutions kick in. However, there were a few parts missed which are added in this MRIn !319 we started to make sure that the `Field.Access` keeps the property `is_absolut_access` even when sympys simplifications or substitutions kick in. However, there were a few parts missed which are added in this MRMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/351[FIX] Alignement detection2023-09-19T20:22:27+02:00Markus Holzer[FIX] Alignement detectionFor the SIMD vectorization it needs to be determined if a memory address lies points to an aligned address or not. This detection only worked for pointers depending on the inner loop counter so far.For the SIMD vectorization it needs to be determined if a memory address lies points to an aligned address or not. This detection only worked for pointers depending on the inner loop counter so far.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/318[Fix] GPU Buffer with iteration slices2023-03-31T09:18:50+02:00Markus Holzer[Fix] GPU Buffer with iteration slicesGPU buffers did not work in combination with iteration slices before. This is resolved hereGPU buffers did not work in combination with iteration slices before. This is resolved hereMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/317[FIX] Iteration slices with GPU kernels2023-03-17T11:26:57+01:00Markus Holzer[FIX] Iteration slices with GPU kernelsFixes #58Fixes #58Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/322[Fix] Matplotlib arrow rendering2023-03-28T09:23:11+02:00Markus Holzer[Fix] Matplotlib arrow renderingStarting from `matplotlib = 3.5`, pystencils' definition for 3D arrows is deprecated. Therefore, 3D stencils cannot be rendered anymore.
The exact issue is stated, e.g., here : https://github.com/matplotlib/matplotlib/issues/21688
F...Starting from `matplotlib = 3.5`, pystencils' definition for 3D arrows is deprecated. Therefore, 3D stencils cannot be rendered anymore.
The exact issue is stated, e.g., here : https://github.com/matplotlib/matplotlib/issues/21688
Fixes #67Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/352[Fix] Printing of subtraction2023-09-15T02:23:32+02:00Markus Holzer[Fix] Printing of subtractionSubtraction is realised in SymPy with a multiplication of -1 and an addition. Since the -1 is casted in our typing system, it remains in the printer. This leads to many unnecessary number prints. We can avoid this by not casting the nega...Subtraction is realised in SymPy with a multiplication of -1 and an addition. Since the -1 is casted in our typing system, it remains in the printer. This leads to many unnecessary number prints. We can avoid this by not casting the negative oneMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/261`create_kernel` API Update2021-11-21T21:58:15+01:00Jan Hönig`create_kernel` API UpdateTo reduce the `kwargs` hell, we introduced dataclasses, which handle the settings of `create_kernel` and similar functions.
In addition we introduced type-hints for the API functions to increase usability and simplify development.To reduce the `kwargs` hell, we introduced dataclasses, which handle the settings of `create_kernel` and similar functions.
In addition we introduced type-hints for the API functions to increase usability and simplify development.Jan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/49Actually increment counter inside random_symbol2019-09-04T15:06:57+02:00Michael Kuronmkuron@icp.uni-stuttgart.deActually increment counter inside random_symbol@rudolfweeber is currently looking at the statistical mechanics of the fluctuating LB and found a velocity bias. It turned out that this is due to all generated random numbers using the same key. Instead it should be incremented when gen...@rudolfweeber is currently looking at the statistical mechanics of the fluctuating LB and found a velocity bias. It turned out that this is due to all generated random numbers using the same key. Instead it should be incremented when generating multiple random numbers in the same kernel.
So in the generated code,
```c++
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 0, 2, Dummy_38, Dummy_39, Dummy_40, Dummy_41);
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 0, 2, Dummy_34, Dummy_35, Dummy_36, Dummy_37);
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 0, 2, Dummy_30, Dummy_31, Dummy_32, Dummy_33);
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 0, 2, Dummy_26, Dummy_27, Dummy_28, Dummy_29);
```
becomes
```c++
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 3, 2, Dummy_38, Dummy_39, Dummy_40, Dummy_41);
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 2, 2, Dummy_34, Dummy_35, Dummy_36, Dummy_37);
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 1, 2, Dummy_30, Dummy_31, Dummy_32, Dummy_33);
philox_float4(time_step, ctr_0, ctr_1, ctr_2, 0, 2, Dummy_26, Dummy_27, Dummy_28, Dummy_29);
```Martin BauerMartin Bauerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/236Adapt an ifdef for AMD Epyc 70032021-04-28T15:23:33+02:00Michael Kuronmkuron@icp.uni-stuttgart.deAdapt an ifdef for AMD Epyc 7003The new Zen 3 series has vector AES but no AVX512.The new Zen 3 series has vector AES but no AVX512.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/281Adapt CI to updated riscv64 dockerfile2021-12-04T10:30:38+01:00Michael Kuronmkuron@icp.uni-stuttgart.deAdapt CI to updated riscv64 dockerfilehttps://i10git.cs.fau.de/pycodegen/pycodegen/-/commit/99a77506972607cc315bacbd63dfcaa4b8112cda updated Clang from 13-dev to 13.0.0, switched from Debian sid to Ubuntu 21.10, and updated from version 7 to [version 10](https://github.com/s...https://i10git.cs.fau.de/pycodegen/pycodegen/-/commit/99a77506972607cc315bacbd63dfcaa4b8112cda updated Clang from 13-dev to 13.0.0, switched from Debian sid to Ubuntu 21.10, and updated from version 7 to [version 10](https://github.com/sifive/qemu/tree/rvv-1.0-upstream-v10) of the RVV QEMU patch. Now the vector extension is no longer marked as experimental (`x-`).Michael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.dehttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/158Adapted test cases to Sympy Version 1.62020-06-19T18:24:36+02:00Markus HolzerAdapted test cases to Sympy Version 1.6Due to Sympy Version 1.6 the sp.Abs function in the test_interpolation test cases could not be identified as integer anymore. This is now fixed by not checking the type of sp.Abs anymore but by checking its argument.
Furthermore depr...Due to Sympy Version 1.6 the sp.Abs function in the test_interpolation test cases could not be identified as integer anymore. This is now fixed by not checking the type of sp.Abs anymore but by checking its argument.
Furthermore depreciation warning fixes of pandas and pycuda and pytest and adaption to new flake8 Version.Jan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/94Add __getnewargs__ to TypedImaginaryUnit2019-11-30T00:38:52+01:00Stephan SeitzAdd __getnewargs__ to TypedImaginaryUnitThere was a problem when pickling TypedImaginaryUnit since it was using the __getnewargs__ of TypedSymbol.There was a problem when pickling TypedImaginaryUnit since it was using the __getnewargs__ of TypedSymbol.https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/74Add __str__ representation for TextureDeclaration2019-10-21T14:07:20+02:00Stephan SeitzAdd __str__ representation for TextureDeclarationhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/337Add adjacent direcitons to stencil module2023-07-12T18:13:30+02:00Markus HolzerAdd adjacent direcitons to stencil moduleMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/137Add assertion that headers follow the pattern /"..."/ or /<...>/2020-01-24T12:19:42+01:00Stephan SeitzAdd assertion that headers follow the pattern /"..."/ or /<...>/https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/57Add AssignmentCollection.{free_fields,bound_fields}2019-09-25T15:41:44+02:00Stephan SeitzAdd AssignmentCollection.{free_fields,bound_fields}Wasn't this merged already?Wasn't this merged already?https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/313Add cache clearing function2023-02-23T17:20:18+01:00Markus HolzerAdd cache clearing functionFor developing purposes it is useful to have a cache-clearing functionFor developing purposes it is useful to have a cache-clearing functionMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/244Add CI job for non-x86 vectorization2021-05-06T09:43:35+02:00Michael Kuronmkuron@icp.uni-stuttgart.deAdd CI job for non-x86 vectorizationDepends on https://i10git.cs.fau.de/pycodegen/pycodegen/-/merge_requests/12. A job for ARM SVE vectorization will be added in a future pull request as it appears to not be running completely stable yet.Depends on https://i10git.cs.fau.de/pycodegen/pycodegen/-/merge_requests/12. A job for ARM SVE vectorization will be added in a future pull request as it appears to not be running completely stable yet.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/256Add citations to ReadMe2021-07-05T11:55:34+02:00Markus HolzerAdd citations to ReadMepystencils citations have been added to the ReadMe. Furthermore, the authors list is reorderd and the GitLab CI is adapted to have a pre test stage.pystencils citations have been added to the ReadMe. Furthermore, the authors list is reorderd and the GitLab CI is adapted to have a pre test stage.Markus HolzerMarkus Holzer