1. 12 Aug, 2020 1 commit
  2. 07 Aug, 2020 1 commit
    • Swann Perarnau's avatar
      [feature] add generic copy operator for layouts · f17b01c9
      Swann Perarnau authored
      Add a function to create a layout from an existing one. We call it
      duplicate to avoid the confusion with dma copies.
      - ownership consistent with destroy operator: underlying layouts are
        also copied
      - data is copied by the implementation, and the generic code takes care of
        the ops pointer.
  3. 31 Jul, 2020 1 commit
  4. 30 Jul, 2020 1 commit
    • Swann Perarnau's avatar
      [feature] generic layout destroy · ed1f976f
      Swann Perarnau authored
      Refactor destroy API for layouts so that we can solve a long standing
      ownership issue with complex layouts. Putting the destroy operator
      inside the implementation-specific ops allows us to call a generic
      destroyer on embedded layouts.
      Note that this introduce a ownership policy for pad & reshape layouts
      that take ownership of the targeted layout at creation time.
      Related to #55.
  5. 03 Feb, 2020 1 commit
    • Swann Perarnau's avatar
      [feature] add function to print a layout · 73512661
      Swann Perarnau authored
      Add a generic API function to print the internal metadata of a layout,
      not its contents.
      The printing format is somewhat simple, one field per line, except for
      arrays that are printed one row at a time. We print them in user-order.
      The generic API follows the fprintf argument style, somewhat, while the
      internal code follows the AML conventions.
  6. 24 Jan, 2020 1 commit
    • Swann Perarnau's avatar
      [feature] add raw pointer access to layouts · e9263a06
      Swann Perarnau authored
      In most application use cases, AML will need to pass a pointer to the
      layout buffer for it to be handled by application kernel. That is to
      say, we don't expect applications' inner code to use layout_deref in
      tight loops. Thus, it should be possible to retrieve the underlying
      buffer with the minimum amount of overhead.
      Add an operator to retrieve this buffer, in the most straightforward way
      See #61.
      layout checkpatch
  7. 13 Jan, 2020 1 commit
  8. 07 Aug, 2019 1 commit
  9. 06 Aug, 2019 1 commit