Move initialization of clFFT
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 2 Sep 2019 05:45:39 +0000 (07:45 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Mon, 2 Sep 2019 21:44:57 +0000 (23:44 +0200)
commitf8443e2bbc2d29042d7c048780567e5c74f781c5
tree10377ea2eb6a3e9c7dc9dcc9415e67fa0c2bdd3d
parent8be2f9578f40245591dbed699e9923403e8053a6
Move initialization of clFFT

Gave ClfftInitializer the responsibility for mutual exclusion, which
means the initialization is now convenient to do alongside other
PME-on-GPU initialization tasks. This simplifies the code.

Removed mention of lazy initialization, which was not implemented at
all.

Refs #2535

Change-Id: I429767b059ddc3b4f16f2f4a8830b54ed1f49fab
src/gromacs/ewald/pme_gpu_internal.cpp
src/gromacs/ewald/pme_gpu_types_host.h
src/gromacs/gpu_utils/clfftinitializer.cpp
src/gromacs/gpu_utils/clfftinitializer.h
src/gromacs/gpu_utils/tests/CMakeLists.txt
src/gromacs/gpu_utils/tests/clfftinitializer.cpp [new file with mode: 0644]
src/gromacs/mdrun/runner.cpp