Add move operations to GpuHaloExchange
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 9 Nov 2020 15:16:01 +0000 (16:16 +0100)
committerAndrey Alekseenko <al42and@gmail.com>
Tue, 10 Nov 2020 09:54:52 +0000 (09:54 +0000)
commit6439b168ba629eaadee5a6c8c68ad9c5aa3ce0ed
tree094f4deb1d83304320cb641c5343df6d6eb654a2
parent92e1eccca1e1f6a687d11915cf391217fdeeb8ad
Add move operations to GpuHaloExchange

This avoids needing to put the objects in a unique_ptr to put them in
a container. Also made a collection of them use std::array for
clarity.
src/gromacs/domdec/gpuhaloexchange.h
src/gromacs/domdec/gpuhaloexchange_impl.cpp
src/gromacs/domdec/gpuhaloexchange_impl.cu
src/gromacs/domdec/tests/haloexchange_mpi.cpp