Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
aml
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • argo
  • aml
  • Merge Requests
  • !76

Merged
Opened Aug 21, 2019 by Nicolas Denoyelle@ndenoyelle
  • Report abuse
Report abuse

Area cuda

  • Overview 9
  • Commits 82
  • Pipelines 20
  • Changes 13

Cuda implementation of areas.

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.

Additional files are:

  • include/aml/area/cuda.h: library header
  • src/area/cuda.c: area implementation
  • tests/area/test_cuda.c: tests
  • o2lo.in: generation of .lo files. This guides libtool to link cuda device object files with the remaining of the library.

This merge request modifies the compilation toolchain to check if cuda areas can be built and eventually tested. If it can be built, it will, even if the machine has no cuda device to run it. Indeed, one might want to compile and run the library on different machines (i.e with and without cuda devices). Modified files are:

  • configure.ac
  • src/Makefile.am

An additional error code has been added to aml errors for handling busy cuda devices or already registered host pointer on cuda devices. See:

  • include/aml/utils/error.h
  • src/utils/error.c

Also, all CI stages as been set not to run on branches name starting with wip:

  • .gitlab-ci.yml
Edited Aug 23, 2019 by Nicolas Denoyelle
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: argo/aml!76

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.