1. 05 Sep, 2019 2 commits
  2. 30 Aug, 2019 3 commits
    • Swann Perarnau's avatar
      [feature] add extra argument to dma operator · 7eb3d520
      Swann Perarnau authored
      Some operators will need an extra argument (like transforms).
      7eb3d520
    • Swann Perarnau's avatar
      [feature] extend dma to support custom operators · 42d0d493
      Swann Perarnau authored
      Change the DMA generic API to allow for a custom function pointer to
      perform a specific request. Requires us to change a bit the underlying
      management structures.
      42d0d493
    • Nicolas Denoyelle's avatar
      [feature] add area options on mmap · c3a501b9
      Nicolas Denoyelle authored
      ## Change area mmap interface to include implementation specific options.
      
      ### Summary of changes in mmap interface
      Previous mmap interface was:
      ```
      int aml_area_mmap(struct aml_area *area, void*ptr, size_t size);
      ```
      First, in this interface, the purpose of ptr is fuzzy as it is implementation specific and neither
      the user nor aml generic interface knows what to do with it in a generic way.
      Second, this interface does not allow for extensive options. In particular, linux mmap allow
      multiple arguments that cannot be elegantly passed with this interface.
      Instead we aml_mmap replace with this new interface:
      ```
      int aml_area_mmap(struct aml_area *area, size_t size, struct aml_area_options *options);
      ```
      Where the last field clearly state it is used for options and can always be NULL so that it can explicitly be used without knowledge of options implementation.
      c3a501b9
  3. 22 Aug, 2019 2 commits
  4. 21 Aug, 2019 1 commit
  5. 13 Aug, 2019 1 commit
    • Swann Perarnau's avatar
      [refactor] redesign DMAs to support layouts · d8f56ffc
      Swann Perarnau authored
      Refactor the DMA API to work on layouts internally. The resulting code
      ends up simpler for most cases, as long as we add a generic copy
      function.
      
      One things missing:
      - a good API to expose the collection of copy functions we have.
      
      One question not solved:
      - should the DMA ask for a copy function on each operation ?
      d8f56ffc
  6. 07 Aug, 2019 1 commit
  7. 06 Aug, 2019 1 commit
  8. 15 Jul, 2019 1 commit
  9. 02 Jul, 2019 1 commit
  10. 27 Jun, 2019 1 commit
  11. 26 Apr, 2019 1 commit
  12. 25 Apr, 2019 1 commit
  13. 10 Apr, 2019 1 commit
  14. 09 Apr, 2019 1 commit
  15. 01 Apr, 2019 1 commit
  16. 29 Mar, 2019 2 commits
  17. 27 Mar, 2019 1 commit
  18. 26 Mar, 2019 2 commits
  19. 25 Mar, 2019 1 commit
    • Swann Perarnau's avatar
      [fix] use local headers in aml.h · 4954e0fa
      Swann Perarnau authored
      To ensure that unit tests include the right version of the code, aml.h
      should include local header. This also works for installed programs.
      4954e0fa
  20. 22 Mar, 2019 1 commit
    • Swann Perarnau's avatar
      [refactor] use autoconf + m4 for version mngmt · d8803390
      Swann Perarnau authored
      Use m4 to define autoconf-level version variables, following the naming
      scheme of semver.org
      
      To make use of these variables in the headers and sources, a
      generated-header is added in aml/utils/version.h
      
      Also add a simple test for that part of the lib.
      d8803390
  21. 21 Mar, 2019 2 commits
  22. 20 Mar, 2019 2 commits
  23. 14 Mar, 2019 1 commit
  24. 13 Mar, 2019 2 commits
  25. 15 Feb, 2019 1 commit
  26. 27 Aug, 2018 1 commit
    • Swann Perarnau's avatar
      [feature/refactor] add tileid function · 55500ab0
      Swann Perarnau authored
      Instead of asking the user to provide the offsets into a tiling, add a
      function providing a tileid. This tileid corresponds to the in-memory
      order of tiles, making the tilestart functions a lot simpler.
      
      We still need to split the tileid for tilestart because scratchpads
      create requests based on tileids.
      
      Also add a unit test for tiling_2d, to make sure we're not doing
      anything crazy.
      55500ab0
  27. 24 Aug, 2018 1 commit
  28. 20 Aug, 2018 2 commits
  29. 06 Aug, 2018 2 commits
    • Swann Perarnau's avatar
      [feature/fix] add column-major 2D tiling · 9764f3c6
      Swann Perarnau authored
      Fix dgemm_noprefetch to match pattern from @suchyb in #19.
      In order to do so we split our 2d tiling into column-major and
      row-major ones. Note that those are refering to the order of the tiles,
      not the internal data of a tile, as a tiling should be agnostic to it.
      9764f3c6
    • Swann Perarnau's avatar
      [feature] add 2d tiling of contiguous tiles · 508c4695
      Swann Perarnau authored
      Add a tiling representing a 2d array of contiguous tiles. Also add a
      ndims function to retrieve the dimensions in tiles of the tiling.
      
      It also became quite obvious that the iterators are useless right now.
      We should think about changing that.
      508c4695