1. 30 Aug, 2019 1 commit
    • 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
  2. 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
  3. 07 Aug, 2019 1 commit
  4. 06 Aug, 2019 1 commit
  5. 15 Jul, 2019 1 commit
  6. 02 Jul, 2019 2 commits
  7. 27 Jun, 2019 1 commit
  8. 09 Apr, 2019 1 commit
    • Swann Perarnau's avatar
      [refactor] convert area to new errors, create · 9059049c
      Swann Perarnau authored
      Convert area/area_linux to new error handler.
      Implement #31 for area.
      Checkpatch area
      
      Note that area_linux is still using a dynamic data structure no matter
      what: a bitmask to the set of authorized nodes. The conversion to
      aml_bitmap wouldn't help as there's no default value available for all
      nodes on that type (similar to numa_all_nodes_ptr).
      9059049c
  9. 29 Mar, 2019 2 commits
  10. 27 Mar, 2019 1 commit
  11. 26 Mar, 2019 1 commit
  12. 14 Mar, 2019 1 commit
  13. 13 Mar, 2019 1 commit
    • Nicolas Denoyelle's avatar
      [refactor] reorganize repository · 2ad4488c
      Nicolas Denoyelle authored
      - create one directory per building block in src and include
      - keep one directory for tests, \
        otherwise automake make them "test suites"
      - move to AC_OPENMP, which is from autoconf 2.62 (2008)
      2ad4488c