- Apr 27, 2018
-
-
Martin Bauer authored
-
- Apr 13, 2018
-
-
Martin Bauer authored
- removed warnings - added flake8 as CI target
-
Martin Bauer authored
-
- Apr 10, 2018
-
-
Martin Bauer authored
-
Martin Bauer authored
- test run again - notebooks not yet
-
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...
-
- 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 11, 2017
-
-
Martin Bauer authored
-
- Oct 10, 2017
-
-
Martin Bauer authored
- renaming because of clashes with types.py from other packages
-
- 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
-
- Jul 21, 2017
-
-
Martin Bauer authored
-
- Apr 11, 2017
-
-
Martin Bauer authored
-> smaller block
-
- Mar 30, 2017
-
-
Martin Bauer authored
-
- Mar 29, 2017
-
-
Martin Bauer authored
-
- Mar 24, 2017
-
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
- abstraction layer for selecting CUDA block and grid sizes - line based (was implemented before) - block based (new, more flexible) - new conditional (if/else) ast node, which is necessary for indexing schemes (guarding if)
-