Skip to content
Snippets Groups Projects
  1. Jan 18, 2018
  2. 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
  3. Dec 03, 2017
  4. Oct 26, 2017
  5. Oct 17, 2017
  6. Oct 10, 2017
  7. 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
  8. Sep 26, 2017
  9. Jul 07, 2017
  10. Jul 06, 2017
  11. 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
  12. Apr 24, 2017
  13. Apr 21, 2017
  14. Apr 20, 2017
  15. Apr 15, 2017
  16. 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
  17. Mar 30, 2017
  18. Mar 24, 2017
  19. Mar 16, 2017
  20. Mar 14, 2017
    • Martin Bauer's avatar
      pystencils: fields can now contain structs · ec3faf51
      Martin Bauer authored
      - this extension is necessary for more generic boundary treatment
      - cells can now be structs, i.e. contain different data types
      - instead of having numeric index dimensions, one can use the index per cell to adress struct elements
      ec3faf51
  21. 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
  22. Mar 05, 2017
    • Martin Bauer's avatar
      lbmpy: various small improvements · 83e87342
      Martin Bauer authored
      - getShearRelaxationRate is a free function now -> works also with cumulant methods
      - better error message when calling kernels with wrong or too few parameters
      - entropic & incompressible is not working by default due to pdf shift -> added NotImplemented exception
      - new creation function for 'raw_mrt' where all relaxation rates can be independently specified
      - enhanced entropic creation funtion, supports omega output field now
      83e87342
  23. Mar 02, 2017
  24. Mar 01, 2017
    • Martin Bauer's avatar
      pystencils: cpujit · dd17cd30
      Martin Bauer authored
      - windows support
      - automatic caching and creation of shared library with all generated kernels
      - restrict keyword and function prefixes are preprocessor macros now -> easier to generate one code for linux, cuda, windows
      dd17cd30
  25. Feb 23, 2017
  26. Feb 21, 2017
  27. Feb 13, 2017
    • Michael Kuron's avatar
      Python 2.7 compatibility · cb05590d
      Michael Kuron authored and Martin Bauer's avatar Martin Bauer committed
      This commit makes the Python code backwards compatible down to Python 2.7. Previously it would only run on Python 3.5 and up.
      
      Problems fixed included:
      - `time.perf_counter()` doesn't exist
      - all classes need to be new-style
      - `functools.lru_cache` doesn't exist
      - only the last argument to a function call can be `*`-expanded
      - the `nonlocal` keyword doesn't exist
      - metaclasses are used with a different syntax
      - `yield from` doesn't exist
      - `tempdir.TemporaryDirectory` doesn't exist
      - iterators need a `next()` method
      cb05590d
    • Martin Bauer's avatar
      a875e22e
    • Martin Bauer's avatar
      pystencils: additional checks when calling kernel · 184489d0
      Martin Bauer authored
      - check that fixed size kernels are called with arrays of the correct size
      - checks that layout of compilation matches runtime layout
      - not allowed any more to mix fixed & and variable sized fields in a kernel
      184489d0
  28. Feb 09, 2017
  29. Dec 15, 2016
  30. Dec 08, 2016