#include "testhardwarecontexts.h"
-#include "gromacs/compat/make_unique.h"
+#include <memory>
+
#include "gromacs/ewald/pme.h"
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/hardware/detecthardware.h"
void PmeTestEnvironment::SetUp()
{
- hardwareContexts_.emplace_back(compat::make_unique<TestHardwareContext>(CodePath::CPU, "", nullptr));
+ hardwareContexts_.emplace_back(std::make_unique<TestHardwareContext>(CodePath::CPU, "", nullptr));
hardwareInfo_ = hardwareInit();
if (!pme_gpu_supports_build(nullptr) ||
char stmp[200] = {};
get_gpu_device_info_string(stmp, hardwareInfo_->gpu_info, gpuIndex);
std::string description = "(GPU " + std::string(stmp) + ") ";
- hardwareContexts_.emplace_back(compat::make_unique<TestHardwareContext>
+ hardwareContexts_.emplace_back(std::make_unique<TestHardwareContext>
(CodePath::GPU, description.c_str(),
deviceInfo));
}