- Apr 27, 2018
-
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
- SSA form is checked - loop independence condition is checked - bug fix in Field.create_generic when using index_shape
-
Martin Bauer authored
-
- Apr 20, 2018
-
-
Martin Bauer authored
- when running multiple pystencils instances, sometimes errors happened because one process might have partially written a cached file, which is already read before writing was finished -> switched to "atomic write" (only on linux yet) that uses os.rename which is guaranteed to be atomic
-
- Apr 13, 2018
-
-
Martin Bauer authored
- removed warnings - added flake8 as CI target
-
- Apr 10, 2018
-
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
- test run again - notebooks not yet
-
Martin Bauer authored
-
Martin Bauer authored
- Previously sympy.Eq was used to represent assignments. However Eq represents equality not assignment. This means that sometimes sympy "simplified" an equation like a = a to True, -> replaced sp.Eq by pystencils.Assignment everywhere - renamed EquationCollection to AssignmentCollection
-
- Feb 06, 2018
-
-
Martin Bauer authored
- now an lbMethod or updateRule can be passed in directly - made method/update rule/ast function independent i.e. no function uses the same parameters as on of the others
-
Martin Bauer authored
- 3 phase model works now with step sytem
-
Martin Bauer authored
-
Martin Bauer authored
- previously all objects where cached by id() - for waLBerla simulations in each time step a new np.array view is created from the waLBerla field. Each of these views has a different id -> caching did not work for waLBerla setups - changed hash for numpy arrays: instead of id, a tuple of (dataPtr, strides, shapes) is used as hash input
-
Martin Bauer authored
- scaling interface width eta instead of surface tensions tau to correct interface profile & surface tensions
-
- Jan 31, 2018
-
-
Martin Bauer authored
-
- Jan 19, 2018
-
-
Concept: Generate code involving the (un)packing of fields (from)to linear (1D) arrays, i.e. (de)serialization of the field values for buffered communication. A linear index is generated for the buffer, by inferring the strides and variables of the loops over fields in the AST. In the CPU, this information is obtained through the makeLoopOverDomain function, in pystencils/transformations/transformations.py. On CUDA, the strides of the fields (excluding buffers) are combined with the indexing variables to infer the indexing of the buffer. What is supported: - code generation for both CPU and GPU - (un)packing of fields with all the memory layouts supported by pystencils - (un)packing slices of fields (from)into the buffer - (un)packing subsets of cell values from the fields (from)into the buffer Limitations: - assumes that only one buffer and one field are being operated within each kernel, however multiple equations involving the...
-
Martin Bauer authored
-
- Jan 18, 2018
-
-
Jan Hönig authored
Fixed demo_heat_equation notebook.
-
- Jan 11, 2018
-
-
Martin Bauer authored
- single function to create kernel for specified target - data type creation from string - reuse numpy functionality - bugfixes in dot display
-
- Dec 03, 2017
-
-
Martin Bauer authored
- loop cutting - simplification of conditionals inside loop
-
- Oct 26, 2017
-
-
Martin Bauer authored
-
- Oct 17, 2017
-
-
Jan Hönig authored
Fixed a severe bug. Renamed makePythonFunction of the llvm backend. Deleted code duplicity.
-
- Oct 10, 2017
-
-
Martin Bauer authored
- renaming because of clashes with types.py from other packages
-
Martin Bauer authored
- sympys piecewise defined functions are mapped to blend instructions - cast function is now a class - several bugfixes
-
- Oct 09, 2017
-
-
Martin Bauer authored
- first vectorization tests are running - type system: use memoized getTypeOfExpression - casts are done using sp.Function('cast') - C backend adapted for vectorization support - AST nodes can required optional headers
-
- Sep 26, 2017
-
-
Martin Bauer authored
- support for kernels that run over walberla ghost layers
-
Martin Bauer authored
- old method produced unused variables - old method was not deterministic in the output code i.e. ordering of the introduced constants - moveConstantsBeforeLoops transformation was also not deterministic
-
- Jul 07, 2017
-
-
Martin Bauer authored
-
- Jul 06, 2017
-
-
Martin Bauer authored
-
- Jul 01, 2017
-
-
Martin Bauer authored
- pystencils can create now a non-compilable kernel that can be analyzed by kerncraft
-
- Apr 24, 2017
-
-
Martin Bauer authored
-
- Apr 21, 2017
-
-
Martin Bauer authored
- periodic kernels not yet OpenMP parallel
-
- Apr 20, 2017
-
-
Martin Bauer authored
-
- Apr 15, 2017
-
-
Martin Bauer authored
-
- Apr 11, 2017
-
-
Martin Bauer authored
- cache relied on uniqueness of python id() - id may be reused if object is freed -> object must be held alive -> kernel keeps all it arguments it was ever called with, alive (problematic in terms of memory consumption)
-
- Mar 30, 2017
-
-
Martin Bauer authored
- VC 15 (2017) does not set an environment variable any more - fallback to filesystem search
-
- Mar 24, 2017
-
-
Martin Bauer authored
-
Martin Bauer authored
-