1. 23 Aug, 2019 1 commit
    • Nicolas Denoyelle's avatar
      ### Cuda implementation of areas. · df3b0f85
      Nicolas Denoyelle authored
      New area allow to allocate data on cuda devices.
      Allocation optionally include the ability to map
      host memory on device memory. See cuda area
      documentation.
      
      Includes libtool helper to link cuda device object files
      with the remaining of the library.
      
      An additional error code has been added to aml errors for handling busy cuda devices
      Also, all CI stages as been set not to run on branches name starting with wip.
      df3b0f85
  2. 22 Aug, 2019 3 commits
  3. 21 Aug, 2019 3 commits
    • Swann Perarnau's avatar
      [refactor/fix] harden dmas · f43d2d6d
      Swann Perarnau authored
      Various fixes related to dma API, missing validation on arguments,
      pthread management and so on.
      f43d2d6d
    • Swann Perarnau's avatar
      [test/fix] add checks on layout_dense_create · 625a0e57
      Swann Perarnau authored
      Unit tests were missing a few corner cases on dense_create. In
      particular, there was a bug in the handling of the NULL pitch.
      625a0e57
    • Swann Perarnau's avatar
      [refactor/test] speed up and improve bitmap tests · d70a25c6
      Swann Perarnau authored
      The bitmap tests were slowing down the entire pipeline, while at the
      same time missing important checks on the inputs. This version is a bit
      more exhaustive, while also speeding up the test by only checking the
      corner-cases (first bits, last bits, partial ranges, overlapping
      ranges).
      d70a25c6
  4. 20 Aug, 2019 2 commits
    • Swann Perarnau's avatar
      [refactor/fix] use uuid in user-side request type · 04315e6e
      Swann Perarnau authored
      Since vector resize can cause pointers into the vector to become
      invalid, this patch introduces a level of indirection for DMAs and
      Scratchs, using uuid on the user-side of a request to index into the
      request vector.
      04315e6e
    • Swann Perarnau's avatar
      [refactor] change vector to alloc data out of it · e964e69e
      Swann Perarnau authored
      We need the vector type used for all our "command queues" to be able to
      maintain pointers to the inner data structure across reallocs of the
      vector itself. The resulting change just uses independent callocs for
      each pointer to a data element.
      e964e69e
  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 2 commits
  7. 06 Aug, 2019 1 commit
  8. 15 Jul, 2019 1 commit
  9. 02 Jul, 2019 8 commits
  10. 28 Jun, 2019 1 commit
  11. 27 Jun, 2019 1 commit
  12. 10 Apr, 2019 2 commits
  13. 09 Apr, 2019 5 commits
  14. 02 Apr, 2019 1 commit
    • Swann Perarnau's avatar
      [style/refactor] posixify error handling · e243f7eb
      Swann Perarnau authored
      In POSIX land, error codes are positive integers, returned by functions
      as a negative value, but assigned to errno as a positive value.
      
      Use that chance to checkpatch the files.
      e243f7eb
  15. 01 Apr, 2019 2 commits
  16. 29 Mar, 2019 3 commits
  17. 27 Mar, 2019 1 commit
  18. 26 Mar, 2019 2 commits