Skip to content
Snippets Groups Projects
  1. Apr 27, 2018
  2. Apr 20, 2018
  3. Apr 13, 2018
  4. Apr 10, 2018
  5. Feb 06, 2018
  6. Jan 31, 2018
  7. 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
    • Martin Bauer's avatar
      Bugfix in waLBerla boundary generation · 5c0375c4
      Martin Bauer authored
      5c0375c4
  8. Jan 18, 2018
  9. 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
  10. Dec 03, 2017
  11. Oct 26, 2017
  12. Oct 17, 2017
  13. Oct 10, 2017
  14. Oct 09, 2017
    • Martin Bauer's avatar
      Vectorization & Type system overhaul · ea847bc5
      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
      ea847bc5
  15. Sep 26, 2017
  16. Jul 07, 2017
  17. Jul 06, 2017
  18. Jul 01, 2017
    • Martin Bauer's avatar
      Kerncraft coupling · 3b4deebe
      Martin Bauer authored
      - pystencils can create now a non-compilable kernel that can be
        analyzed by kerncraft
      3b4deebe
  19. Apr 24, 2017
  20. Apr 21, 2017
  21. Apr 20, 2017
  22. Apr 15, 2017
  23. Apr 11, 2017
    • Martin Bauer's avatar
      Bugfix in JIT cacheing · 93b1d694
      Martin Bauer authored
      - cache relied on uniqueness of  python id()
      - id may be reused if object is freed
      -> object must be held alive
      -> kernel keeps all it arguments it was ever called with, alive (problematic in terms of memory consumption)
      93b1d694
  24. Mar 30, 2017
  25. Mar 24, 2017