Remove pin/unpin from HostAllocator
authorRoland Schulz <roland.schulz@intel.com>
Thu, 16 Aug 2018 01:40:20 +0000 (18:40 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 6 Sep 2018 14:51:37 +0000 (16:51 +0200)
commit42dae673fb68c9c08836494361a687531e0bf4bf
treee780bdf311eac4ac719c25ae1b33c081fd95189c
parent2385a6701509b738615bc5475113f86032725034
Remove pin/unpin from HostAllocator

Simplifies HostAllocator a lot and there doesn't seem to
be a good usage of those functions. Also allows to
call unpin without first checking whether the memory
was pinned.

Also fix comparison operator for HostAllocator and
make it properly work with move-only types.

Change-Id: I3be397a26c10ef68334c3753666802e46129a0ec
cmake/gmxCFlags.cmake
src/gromacs/gpu_utils/hostallocator.cpp
src/gromacs/gpu_utils/hostallocator.h
src/gromacs/gpu_utils/pinning.cu
src/gromacs/gpu_utils/tests/hostallocator.cpp
src/gromacs/utility/allocator.h
src/gromacs/utility/tests/alignedallocator-impl.h
src/gromacs/utility/tests/alignedallocator.cpp