Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hostallocator.cpp File Reference
#include "gmxpre.h"
#include "hostallocator.h"
#include <cstddef>
#include <memory>
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/gpu_utils/pinning.h"
#include "gromacs/utility/alignedallocator.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
+ Include dependency graph for hostallocator.cpp:

Description

Implements gmx::HostAllocationPolicy for allocating memory suitable for e.g. 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