Gromacs
2024.4
|
#include "gmxpre.h"
#include "hostallocator.h"
#include <cstddef>
#include <memory>
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/gpu_utils/pmalloc.h"
#include "gromacs/utility/alignedallocator.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
Implements gmx::HostAllocationPolicy for allocating memory suitable for e.g. GPU transfers on CUDA.