Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pinning.h File Reference
#include <cstddef>
#include "gromacs/gpu_utils/gpu_macros.h"
+ Include dependency graph for pinning.h:

Description

Declares functions for pinning memory to be suitable for efficient GPU transfers on CUDA.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Functions

void gmx::pinBuffer (void *pointer, std::size_t numBytes) noexcept
 Pin the allocation to physical memory. More...
 
void gmx::unpinBuffer (void *pointer) noexcept
 Unpin the allocation. More...