- 11 Jul, 2019 1 commit
-
-
Martin Bauer authored
- backend, target and compile are now normal members of the KernelFunction node and populated in constructor
-
- 21 Mar, 2019 1 commit
-
-
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
-
- 18 Apr, 2018 1 commit
-
-
Martin Bauer authored
- new kernel creation function for kernels that write to staggered fields - simplification of conditionals with integers uses ISL library now via islpy bindings
-
- 10 Apr, 2018 3 commits
-
-
-
Martin Bauer authored
- test run again - notebooks not yet
-
Martin Bauer authored
-
- 31 Jan, 2018 1 commit
-
-
Martin Bauer authored
-
- 19 Jan, 2018 1 commit
-
-
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.
-
- 12 Jan, 2018 1 commit
-
-
Jan Hönig authored
Fixed toDot. Remove unnecessary comments.
-
- 11 Jan, 2018 1 commit
-
-
Martin Bauer authored
- single function to create kernel for specified target - data type creation from string - reuse numpy functionality - bugfixes in dot display
-
- 24 Oct, 2017 1 commit
-
-
Jan Hönig authored
Testcases test_mu_equivalence, test_phi_equivalence are passing.
-
- 13 Oct, 2017 1 commit
-
-
Jan Hönig authored
Fixed function bug.
-
- 11 Oct, 2017 1 commit
-
-
Jan Hönig authored
Added LLVM: CodePrinter and a compiler Updated data_types Added tests Added jupyter notebooks Fixed bugs Restructured transformation functions
-
- 10 Oct, 2017 1 commit
-
-
Martin Bauer authored
- renaming because of clashes with types.py from other packages
-
- 19 Mar, 2017 2 commits
-
-
Jan Hoenig authored
-
Jan Hoenig authored
-
- 13 Mar, 2017 1 commit
-
-
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)
-
- 02 Mar, 2017 1 commit
-
-
Jan Hoenig authored
-
- 23 Feb, 2017 1 commit
-
-
Jan Hoenig authored
-
- 14 Feb, 2017 1 commit
-
-
Jan Hoenig authored
-
- 09 Feb, 2017 1 commit
-
-
Martin Bauer authored
-
- 15 Dec, 2016 1 commit
-
-
Jan Hoenig authored
Move my llvm demo notebook in the correct folder
-
- 08 Dec, 2016 1 commit
-
-
Jan Hoenig authored
and not as a string. Changed name of the file TypedSymbol to types. Fixed usage of dtype accordingly, however i might not have found every usage of dtype.
-
- 17 Nov, 2016 1 commit
-
-
Martin Bauer authored
-
- 09 Nov, 2016 1 commit
-
-
Martin Bauer authored
-
- 08 Nov, 2016 1 commit
-
-
Martin Bauer authored
- support for different #ghost layers at each coordinate limit
-
- 04 Nov, 2016 1 commit
-
-
Martin Bauer authored
- LoopOverDomain changed to be able to loop over rectangular sub-region of field - support for slicing with makeSlice
-
- 03 Nov, 2016 1 commit
-
-
Martin Bauer authored
- added sphinx files for documentation generation - collected kernel creation functions in new "cpu" and "cudagpu" modules
-