- 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...
-
- 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
-
- Dec 08, 2016
-
-
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.
-
- Nov 04, 2016
-
-
Martin Bauer authored
- LoopOverDomain changed to be able to loop over rectangular sub-region of field - support for slicing with makeSlice
-
- Nov 03, 2016
-
-
Martin Bauer authored
- added sphinx files for documentation generation - collected kernel creation functions in new "cpu" and "cudagpu" modules
-