1. 11 Jul, 2019 2 commits
  2. 29 Mar, 2019 1 commit
  3. 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
  4. 26 Feb, 2019 1 commit
    • Martin Bauer's avatar
      Random number generation support for pystencils · 6a01f3e2
      Martin Bauer authored
      - counter-based philox RNG: counter/key is filled with cell coordinate
        and optional external parameters like block position and time step
      - works on CPU and GPU - on CPU only for non-vectorized versions
      - introduced more flexible "CustomCodeNode" that can inject
        backend-specific hand-written code
  5. 18 Feb, 2019 1 commit
  6. 07 Dec, 2018 1 commit
  7. 14 Nov, 2018 2 commits
  8. 29 Oct, 2018 1 commit
  9. 25 Jul, 2018 1 commit
  10. 20 Jun, 2018 2 commits
  11. 15 Jun, 2018 1 commit
  12. 14 Jun, 2018 2 commits
  13. 13 Jun, 2018 1 commit
  14. 12 Jun, 2018 1 commit
  15. 07 Jun, 2018 1 commit
    • Martin Bauer's avatar
      pystencils field · 8ca5e2fb
      Martin Bauer authored
      - better latex display for indirect accesses
      - new field type 'custom': only custom fields can be accessed indirectly
        no static bounds check possible for custom fields
  16. 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
  17. 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
  18. 30 Apr, 2018 1 commit
  19. 28 Apr, 2018 1 commit
  20. 20 Apr, 2018 1 commit
    • Martin Bauer's avatar
      Bug fix for shared library cache -> switched to atomic filesystem write · 956c89a0
      Martin Bauer authored
      - when running multiple pystencils instances, sometimes errors happened
        because one process might have partially written a cached file, which
        is already read before writing was finished
      -> switched to "atomic write" (only on linux yet) that uses os.rename
         which is guaranteed to be atomic
  21. 13 Apr, 2018 1 commit
  22. 10 Apr, 2018 4 commits
  23. 06 Feb, 2018 2 commits
    • Martin Bauer's avatar
      Changed parameter bind caching for CPU and GPU kernels · d30c5f73
      Martin Bauer authored
      - previously all objects where cached by id()
      - for waLBerla simulations in each time step a new np.array view
        is created from the waLBerla field. Each of these views has a
        different id -> caching did not work for waLBerla setups
      - changed hash for numpy arrays: instead of id, a tuple of
        (dataPtr, strides, shapes) is used as hash input
    • Martin Bauer's avatar
      New Boundary step system / fixes in lbmpy phasefield · b148d508
      Martin Bauer authored
      - scaling interface width eta instead of surface tensions tau to correct
        interface profile & surface tensions
  24. 31 Jan, 2018 1 commit
  25. 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.
  26. 03 Dec, 2017 1 commit
  27. 26 Oct, 2017 1 commit
  28. 17 Oct, 2017 1 commit
  29. 10 Oct, 2017 2 commits
  30. 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
  31. 06 Jul, 2017 1 commit