wallcycle_stop(wcycle, ewcLAUNCH_GPU);
}
-void* pme_gpu_get_device_f(const gmx_pme_t* pme)
+DeviceBuffer<gmx::RVec> pme_gpu_get_device_f(const gmx_pme_t* pme)
{
if (!pme || !pme_gpu_active(pme))
{
- return nullptr;
+ return DeviceBuffer<gmx::RVec>{};
}
return pme_gpu_get_kernelparam_forces(pme->gpu);
}