biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e7d087
)
Fix typo in selectSpreadKernelPtr causing wrong kernel to be selected
author
Andrey Alekseenko
<al42and@gmail.com>
Thu, 9 Sep 2021 16:07:20 +0000
(16:07 +0000)
committer
Andrey Alekseenko
<al42and@gmail.com>
Thu, 9 Sep 2021 16:07:20 +0000
(16:07 +0000)
Fixes #4138
src/gromacs/ewald/pme_gpu_internal.cpp
patch
|
blob
|
history
diff --git
a/src/gromacs/ewald/pme_gpu_internal.cpp
b/src/gromacs/ewald/pme_gpu_internal.cpp
index c67e471ca3c86118b89d4061e046c8b824bebe1d..8b9dea9fab9d5734c2e283c3e28e8736689f119a 100644
(file)
--- a/
src/gromacs/ewald/pme_gpu_internal.cpp
+++ b/
src/gromacs/ewald/pme_gpu_internal.cpp
@@
-1,7
+1,8
@@
/*
* This file is part of the GROMACS molecular simulation package.
*
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019,2020 by the GROMACS development team.
+ * Copyright (c) 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.
* 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.
@@
-1113,6
+1114,7
@@
static auto selectSpreadKernelPtr(const PmeGpu* pmeGpu,
{
kernelPtr = pmeGpu->programHandle_->impl_->spreadKernelThPerAtom4Dual;
}
{
kernelPtr = pmeGpu->programHandle_->impl_->spreadKernelThPerAtom4Dual;
}
+ else
{
kernelPtr = pmeGpu->programHandle_->impl_->spreadKernelThPerAtom4Single;
}
{
kernelPtr = pmeGpu->programHandle_->impl_->spreadKernelThPerAtom4Single;
}