- Nov 30, 2019
-
-
Michael Kuron authored
-
- Oct 01, 2019
-
-
Martin Bauer authored
-
- Sep 24, 2019
-
-
Stephan Seitz authored
-
- Jul 11, 2019
-
-
Martin Bauer authored
-
Martin Bauer authored
- backend, target and compile are now normal members of the KernelFunction node and populated in constructor
-
- Apr 05, 2019
-
-
Martin Bauer authored
-
- Mar 21, 2019
-
-
Martin Bauer authored
This restructuring allows for easier separation of modules into separate repositories later. Also, now pip install with repo url can be used. The setup.py files have also been updated to correctly reference each other. Module versions are not extracted from git state
-
- Mar 15, 2019
-
-
Martin Bauer authored
-
- Nov 14, 2018
-
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
- small (length < 5) arrays with shape and stride information had to be memcpy'd to the GPU before every kernel call - instead of passing the information as arrays, the single elements are passed - leads to more function arguments, but simplifies GPU kernel calls -> changes in all backends required
-
Martin Bauer authored
- put all buffer related stuff into separate functions - should be functionally equivalent
-
- May 28, 2018
-
-
Martin Bauer authored
- different approach in pystencils: absolute indexing
-
- Apr 30, 2018
-
-
Martin Bauer authored
-
- Apr 27, 2018
-
-
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
-
- Apr 13, 2018
-
-
Martin Bauer authored
- removed warnings - added flake8 as CI target
-
- Apr 10, 2018
-
-
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
-
- 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 buffer and the field are supported. - (un)packing multiple cell values (from)into the buffer is supported, however it is limited to the fields with indexDimensions=1. The same applies to (un)packing subset of cell values of each cell. Changes in this commit: - add the FieldType enumeration to pystencils/field.py, to mark fields of various types. This is replaces and is a generalization of the isIndexedField boolean flag of the Field class. For now, the types supported are: generic, indexed and buffer fields. - add the fieldType property to the Field class, which indicates the type of the field. Modifications were also performed to the member functions of the Field class to add this property. - add resolveBufferAccesses function, which replaces the fields marked as buffers with the actual field access in the AST traversal. Miscelaneous changes: - add blockDim and gridDim variables as CUDA indexing variables.
-
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
-
- Oct 10, 2017
-
-
Martin Bauer authored
- renaming because of clashes with types.py from other packages
-
- 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 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 15, 2017
-
-
Martin Bauer authored
-
- Mar 24, 2017
-
-
Martin Bauer authored
-
- Mar 16, 2017
-
-
Martin Bauer authored
-
- Mar 13, 2017
-
-
Martin Bauer authored
- use data type class consistently instead of strings (in TypedSymbol, Field and jit module) - new datatype class is based on numpy types with additional specifier information (const and restrict) - translation between data type class and other modules (numpy, ctypes)
-
- Feb 21, 2017
-
-
Martin Bauer authored
-