8000 enable CUDA managed pointers · Issue #1679 · UCL/STIR · GitHub
[go: up one dir, main page]

Skip to content

enable CUDA managed pointers #1679

@KrisThielemans

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.

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

    0