1. 21 Oct, 2019 1 commit
  2. 15 Oct, 2019 2 commits
  3. 11 Oct, 2019 1 commit
  4. 10 Oct, 2019 1 commit
  5. 01 Oct, 2019 1 commit
  6. 27 Sep, 2019 1 commit
  7. 24 Sep, 2019 3 commits
  8. 23 Sep, 2019 1 commit
    • Stephan Seitz's avatar
      Remove DestructuringBindingsForFieldClass · 1f0a4b46
      Stephan Seitz authored
      There is now a superior implementation in pystencils_autodiff.
      
      This is actually a AST Node for wrapper code. pystencils_autodiff has
      now a AST printer for framework integration code. So framework AST nodes
      are now there and kernel AST nodes remain here.
      1f0a4b46
  9. 21 Sep, 2019 1 commit
  10. 19 Aug, 2019 1 commit
  11. 16 Aug, 2019 2 commits
  12. 15 Aug, 2019 4 commits
  13. 14 Aug, 2019 1 commit
  14. 12 Aug, 2019 1 commit
  15. 06 Aug, 2019 1 commit
  16. 05 Aug, 2019 1 commit
  17. 18 Jul, 2019 2 commits
  18. 15 Jul, 2019 1 commit
  19. 12 Jul, 2019 1 commit
  20. 11 Jul, 2019 1 commit
  21. 10 Jul, 2019 2 commits
    • Stephan Seitz's avatar
      2313eda2
    • Stephan Seitz's avatar
      Add DestructuringBindingsForFieldClass to use pystencils kernels in a more C++-ish way · 8e63c9ff
      Stephan Seitz authored
      DestructuringBindingsForFieldClass defines all field-related variables
      in its subordinated block.
      However, it leaves a TypedSymbol of type 'Field' for each field
      undefined.
      By that trick we can generate kernels that accept structs as
      kernelparameters.
      Either to include a pystencils specific Field struct of the following
      definition:
      
      ```cpp
      template<DTYPE_T, DIMENSION>
      struct Field
      {
          DTYPE_T* data;
          std::array<DTYPE_T, DIMENSION> shape;
          std::array<DTYPE_T, DIMENSION> stride;
      }
      
      or to be able to destructure user defined types like `pybind11::array`,
      `at::Tensor`, `tensorflow::Tensor`
      
      ```
      8e63c9ff
  22. 08 Jul, 2019 1 commit
    • Stephan Seitz's avatar
      Add global_declarations to cbackend · 3463ff54
      Stephan Seitz authored
      This enables astnodes.Nodes to have a member required_global_declarations
      by which they can specify a global declaration required for their usage.
      3463ff54
  23. 27 Jun, 2019 1 commit
  24. 26 Apr, 2019 2 commits
  25. 24 Apr, 2019 1 commit
    • Martin Bauer's avatar
      Improvements for GPU code generation · f504b40f
      Martin Bauer authored
      - turned on restrict keyword by default (makes large difference on GPUs)
      - smarter block indexing: changing block size depending on domain size
        Example: previously there where (1,1,1) blocks when requested
        block size was (64, 1, 1) and domain size (1, 512, 512), now the
        block size is changed automatically to (1, 64, 1) in this case
      - added __lauch_bounds__ to kernels to allow better optimizations from
        the CUDA compiler
      f504b40f
  26. 14 Apr, 2019 1 commit
    • Martin Bauer's avatar
      Fixes · 9bfd862f
      Martin Bauer authored
      - style changes marked by flake
      - using newest kerncraft version
      9bfd862f
  27. 05 Apr, 2019 1 commit
  28. 03 Apr, 2019 1 commit
  29. 01 Apr, 2019 2 commits