Skip to content

enable CUDA managed pointers #1679

Description

@KrisThielemans

To avoid copying data to/from GPU all the time, CUDA managed pointers might come to the rescue. This would become more attractive once supported by parallelproj (WIP by @gschramm ). A possible strategy would then be

  1. change these to CUDA managed pointers to avoid them being copied every time.
    std::vector<float> xstart;
    std::vector<float> xend;
  2. somehow add optional argument to Array etc to allocate with CUDA managed pointer (could probably be done by templating the allocator/destructor)
  3. make images by default CUDA-managed
  4. add CUDA numerical operations (either as member or global)
  5. replace some iterator-based loops for numerical operations of images with numerical operations
  6. investigate what happens with projection data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions