Skip to content
Snippets Groups Projects
  1. Nov 30, 2019
  2. Oct 01, 2019
  3. Sep 24, 2019
  4. Jul 11, 2019
  5. Apr 05, 2019
  6. Mar 21, 2019
    • 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
      used.
      
      The setup.py files have also been updated to correctly reference each
      other. Module versions are not extracted from git state
      1e02cdc7
  7. Mar 15, 2019
  8. Nov 14, 2018
  9. May 28, 2018
  10. Apr 30, 2018
  11. Apr 27, 2018
  12. Apr 13, 2018
  13. Apr 10, 2018
  14. Feb 06, 2018
  15. Jan 31, 2018
  16. 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 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
    • Martin Bauer's avatar
      Bugfix in waLBerla boundary generation · 5c0375c4
      Martin Bauer authored
      5c0375c4
  17. Jan 18, 2018
  18. 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
  19. Oct 10, 2017
  20. Sep 26, 2017
  21. 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
  22. Apr 24, 2017
  23. Apr 21, 2017
  24. Apr 15, 2017
  25. Mar 24, 2017
  26. Mar 16, 2017
  27. 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
  28. Feb 21, 2017