1. 11 Jul, 2019 1 commit
  2. 21 Mar, 2019 1 commit
    • Martin Bauer's avatar
      Separated modules into subfolders with own setup.py · 1e02cdc7
      Martin Bauer authored
      This restructuring allows for easier separation of modules into
      separate repositories later. Also, now pip install with repo url can be
      The setup.py files have also been updated to correctly reference each
      other. Module versions are not extracted from git state
  3. 18 Apr, 2018 1 commit
    • 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
  4. 10 Apr, 2018 3 commits
  5. 31 Jan, 2018 1 commit
  6. 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
      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
          - (un)packing slices of fields (from)into the buffer
          - (un)packing subsets of cell values from the fields (from)into the buffer
      - 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.
  7. 12 Jan, 2018 1 commit
  8. 11 Jan, 2018 1 commit
    • 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
  9. 24 Oct, 2017 1 commit
  10. 13 Oct, 2017 1 commit
  11. 11 Oct, 2017 1 commit
  12. 10 Oct, 2017 1 commit
  13. 19 Mar, 2017 2 commits
  14. 13 Mar, 2017 1 commit
    • 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)
  15. 02 Mar, 2017 1 commit
  16. 23 Feb, 2017 1 commit
  17. 14 Feb, 2017 1 commit
  18. 09 Feb, 2017 1 commit
  19. 15 Dec, 2016 1 commit
  20. 08 Dec, 2016 1 commit
  21. 17 Nov, 2016 1 commit
  22. 09 Nov, 2016 1 commit
  23. 08 Nov, 2016 1 commit
  24. 04 Nov, 2016 1 commit
    • 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
  25. 03 Nov, 2016 1 commit
    • Martin Bauer's avatar
      Documentation & Restructuring · aea202a7
      Martin Bauer authored
      - added sphinx files for documentation generation
      - collected kernel creation functions in new "cpu" and "cudagpu" modules