Skip to content
Snippets Groups Projects

Use pinned memory for GPU version

Merged Sebastian Ohlmann requested to merge gpu_pinned_memory into develop

Description

Add a special allocation function in C that will allocate pinned memory when running on GPUs for the wavefunctions. This increases the transfer speed by more than a factor of 2.

This function could in the future also be used to make the allocated memory aligned for CPU runs which would improve the usage of vectorization.

News snippet

Use pinned memory for the GPU version to improve transfer speeds.

Checklist

Closes #223 (closed). Relates to #162 (closed).

Edited by Martin Lueders

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 5f4cf9cd - Fix missing brace in debug code

    Compare with previous version

  • Sebastian Ohlmann resolved all threads

    resolved all threads

  • Martin Lueders approved this merge request

    approved this merge request

  • Martin Lueders mentioned in commit 15ad4bcb

    mentioned in commit 15ad4bcb

  • mentioned in issue #223 (closed)

  • Martin Lueders changed the description

    changed the description

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading