1. 02 Oct, 2018 1 commit
  2. 30 Jul, 2018 1 commit
  3. 20 Jun, 2018 1 commit
  4. 07 Jun, 2018 1 commit
  5. 28 May, 2018 2 commits
  6. 14 May, 2018 3 commits
  7. 13 May, 2018 1 commit
    • Martin Bauer's avatar
      Improved Vectorization · 501b2d7e
      Martin Bauer authored
      - support aligned load/stores
      - nontemporal stores
      - aligned memory allocation for arrays and temporary buffers
      501b2d7e
  8. 11 May, 2018 1 commit
    • Martin Bauer's avatar
      Generalized vectorization · 57a3c27e
      Martin Bauer authored
      - vectorization for loops with ranges that are not a multiple of vector width
      - vectorization for variable sized loops if special transformation
        replace_inner_stride_with_one is run
      57a3c27e
  9. 07 May, 2018 1 commit
    • Martin Bauer's avatar
      Fixes in field index resolve · 755f168c
      Martin Bauer authored
      - move_constants_before_loop: in the rare case that a symbol
        with same name exists in move target - the assignment is not moved
        previously an exception was raised in this case
      - consistent naming of intermediate base pointers
      755f168c
  10. 30 Apr, 2018 1 commit
  11. 28 Apr, 2018 1 commit
  12. 27 Apr, 2018 3 commits
  13. 18 Apr, 2018 2 commits
  14. 13 Apr, 2018 1 commit
  15. 10 Apr, 2018 7 commits
  16. 06 Mar, 2018 1 commit
  17. 31 Jan, 2018 1 commit
  18. 19 Jan, 2018 1 commit
    • 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 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.
      979ee93b
  19. 11 Dec, 2017 1 commit
  20. 03 Dec, 2017 2 commits
  21. 11 Oct, 2017 1 commit
  22. 10 Oct, 2017 2 commits
  23. 09 Oct, 2017 1 commit
    • 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
  24. 26 Sep, 2017 2 commits
  25. 25 Sep, 2017 1 commit