X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?p=alexxy%2Fgromacs.git;a=blobdiff_plain;f=src%2Fgromacs%2Fgpu_utils%2Fdevice_stream_manager.cpp;fp=src%2Fgromacs%2Fgpu_utils%2Fdevice_stream_manager.cpp;h=910ccdd0e2cb60b251bb6186da9d09fe2170d011;hp=c732156942e9601b99c3754b137fbe821b1ad0a7;hb=8e4184a2387fb1b36361b07c9c3df40076d0250d;hpb=4ab77f8b8162e37a89f7bdbd89709528326d7c26 diff --git a/src/gromacs/gpu_utils/device_stream_manager.cpp b/src/gromacs/gpu_utils/device_stream_manager.cpp index c732156942..910ccdd0e2 100644 --- a/src/gromacs/gpu_utils/device_stream_manager.cpp +++ b/src/gromacs/gpu_utils/device_stream_manager.cpp @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * Copyright (c) 2019,2020, by the GROMACS development team, led by + * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gromacs.org. @@ -111,7 +111,7 @@ DeviceStreamManager::Impl::Impl(const DeviceInformation& deviceInfo, std::make_unique(context_, DeviceStreamPriority::High, useTiming); } // Update stream is used both for coordinates transfers and for GPU update/constraints - if (simulationWork.useGpuPme || simulationWork.useGpuUpdate || simulationWork.useGpuBufferOps) + if (simulationWork.useGpuPme || simulationWork.useGpuUpdate || simulationWork.useGpuXBufferOps) { streams_[DeviceStreamType::UpdateAndConstraints] = std::make_unique(context_, DeviceStreamPriority::Normal, useTiming);