Gromacs
2024.3
|
#include "gmxpre.h"
#include "gromacs/gpu_utils/device_context.h"
#include "gromacs/gpu_utils/gmxopencl.h"
#include "gromacs/gpu_utils/oclutils.h"
#include "gromacs/hardware/device_information.h"
#include "gromacs/hardware/device_management.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
#include "devicetransfers.h"
Defines helper functionality for device transfers for tests for GPU host allocator.
Functions | |
void | gmx::anonymous_namespace{devicetransfers_ocl.cpp}::throwUponFailure (cl_int status, const char *message) |
Help give useful diagnostics about error status while doing message . More... | |
void | gmx::doDeviceTransfers (const DeviceContext &deviceContext, const DeviceInformation &deviceInfo, ArrayRef< const char > input, ArrayRef< char > output) |
Helper function for GPU test code to be platform agnostic. More... | |