Skip to content
Snippets Groups Projects
  1. Apr 18, 2018
    • Martin Bauer's avatar
      Support for setting a staggered field · 26f855cb
      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
      26f855cb
  2. Apr 10, 2018
  3. Jan 31, 2018
  4. Jan 19, 2018
    • João Victor Tozatti Risso's avatar
      Code generation for field serialization into buffers · 979ee93b
      João Victor Tozatti Risso authored and Martin Bauer's avatar Martin Bauer committed
      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...
      979ee93b
  5. Jan 12, 2018
  6. Jan 11, 2018
    • Martin Bauer's avatar
      pystencils cleanup · c598dc78
      Martin Bauer authored
      - single function to create kernel for specified target
      - data type creation from string - reuse numpy functionality
      - bugfixes in dot display
      c598dc78
  7. Oct 24, 2017
  8. Oct 13, 2017
  9. Oct 11, 2017
  10. Oct 10, 2017
  11. Mar 19, 2017
  12. Mar 13, 2017
    • Martin Bauer's avatar
      pystencils: Cleaned up type system · c8b455fe
      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)
      c8b455fe
  13. Mar 02, 2017
  14. Feb 23, 2017
  15. Feb 14, 2017
  16. Feb 09, 2017
  17. Dec 15, 2016
  18. Dec 08, 2016
  19. Nov 17, 2016
  20. Nov 09, 2016
  21. Nov 08, 2016
  22. Nov 04, 2016
    • Martin Bauer's avatar
      Sliced iteration · 411af476
      Martin Bauer authored
      - LoopOverDomain changed to be able to loop over rectangular sub-region of field
      - support for slicing with makeSlice
      411af476
  23. Nov 03, 2016