- 13 Aug, 2019 1 commit
-
-
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 ?
-
- 07 Aug, 2019 2 commits
-
-
Swann Perarnau authored
Layout are a bit more complex as they contain extra arrays at the end of the struct, so new macros are required.
-
Swann Perarnau authored
Add a set of macros to help us deal with several mallocs back-to-back in creators, while ensuring that pointers stay aligned properly. See #45 for details. Related to the !68 cleanup.
-
- 06 Aug, 2019 1 commit
-
-
Add new building block describing how data is organized in memory.
-
- 15 Jul, 2019 1 commit
-
-
Swann Perarnau authored
Removes static allocations of all objects from the library. While this will make our code less compact in theory, this part of the API is too confusing for new users.
-
- 02 Jul, 2019 3 commits
-
-
Swann Perarnau authored
Less than perfect types for the most part, plus a few unused variables.
-
Swann Perarnau authored
Some string.h definitions only appear if _GNU_SOURCE is defined, which is done for us in config.h. As usual, only include this in the .c files, and first in the header.
-
Swann Perarnau authored
Caught by a fun warning about weird function-pointer-to-int conversion.
-
- 27 Jun, 2019 1 commit
-
-
Swann Perarnau authored
MAP_ANONYMOUS is only visible in _GNU_SOURCE code. Ensure the config header is included first so that this symbol appears.
-
- 26 Apr, 2019 2 commits
-
-
Swann Perarnau authored
These functions do not exist anymore.
-
Swann Perarnau authored
Also create the basic page structure, including importing the doxygen API documentation through breathe. Also fix some doxygen config, as doxygen wasn't generating scratchpad info, and the dma implementation groups had a different name that the structs.
-
- 25 Apr, 2019 1 commit
-
-
- 10 Apr, 2019 2 commits
-
-
Swann Perarnau authored
Last bit of API lacking consistency.
-
Swann Perarnau authored
Implement #31 for vector. Improve error management. Checkpatch vector.
-
- 09 Apr, 2019 5 commits
-
-
Swann Perarnau authored
Implement #31 for tiling. Improve error management. Checkpatch tiling.
-
Swann Perarnau authored
Implement #31 for scratch. Improve error management. Checkpatch scratch.
-
Swann Perarnau authored
Implement #31 for dma. Improve error management. Checkpatch dma
-
Swann Perarnau authored
Implement #31 for bitmap. Extra init/fini function for API consistency, but not needed. Checkpatch another header.
-
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).
-
- 02 Apr, 2019 1 commit
-
-
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.
-
- 01 Apr, 2019 2 commits
-
-
Swann Perarnau authored
checkpatch is the linter from the Linux kernel. This should provide a good amount of validation on the codestyle of the repo. Only goes on main header and basic c file for now.
-
Swann Perarnau authored
The source repo has been reorganized, but the repoquality checks were not updated. Also make sure that style checks happen early, to fail the CI quickly.
-
- 29 Mar, 2019 4 commits
-
-
Swann Perarnau authored
Fixes #16.
-
Swann Perarnau authored
Same as the rest.
-
Swann Perarnau authored
We're starting to agree on one main header for all the generic APIs of building blocks, struct definitions included, and one header per specific implementation. Improve the spelling while we're at it.
-
-
- 27 Mar, 2019 1 commit
-
-
- 26 Mar, 2019 3 commits
-
-
Swann Perarnau authored
Since we removed `move` from the dma API, bindings are now useless.
-
Swann Perarnau authored
Poorly supported feature that doesn't play well with the rest of the library and limits what we can do in the future.
-
-
- 25 Mar, 2019 2 commits
-
-
-
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.
-
- 22 Mar, 2019 1 commit
-
-
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.
-
- 21 Mar, 2019 2 commits
-
-
Nicolas Denoyelle authored
-
Nicolas Denoyelle authored
-
- 20 Mar, 2019 2 commits
-
-
Swann Perarnau authored
The overall strategy for now is to split the implementations into distinct headers, but keep the generic APIs inside the main aml.h Related to #27
-
Swann Perarnau authored
The overall strategy for now is to split the implementations into distinct headers, but keep the generic APIs inside the main aml.h Related to #27
-
- 14 Mar, 2019 1 commit
-
-
While the current bitmask management is heavily inspired by libnuma, it is not as easy to use has the libnuma API. This patch is an attempt to refactor to code towards something cleaner.
-
- 13 Mar, 2019 2 commits
-
-
Swann Perarnau authored
If an operation should not trigger any actual work, create a no-op request to deal with it properly. Related to #18.
-
- 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)
-