Remove meta information from host allocator policy
authorRoland Schulz <roland.schulz@intel.com>
Tue, 14 Aug 2018 22:23:06 +0000 (15:23 -0700)
committerRoland Schulz <roland.schulz@intel.com>
Wed, 5 Sep 2018 23:17:17 +0000 (16:17 -0700)
commita6261218d1c9e335f8d49640dd123bd24e4bbbb9
treee72dca4f4e0378163fc2384f51392097fcde2cf4
parent4841dea8e2cb5d4c391c390bbe82bae960d44bc4
Remove meta information from host allocator policy

Also prevent HostAllocator to be copied/propagated.
A HostVector shouldn't be copied without the calling code
having a choice on the pinning policy.
This commit prevents copy construction. Move construction and
copy and move assignment is still allowed.
For move/swap nothing is changed.
For copy assignment the pinning policy of the destination
container is used.

Fixes #2612

Change-Id: I15034e4db2434ea46eda84e70e3f8e6072660d20
cmake/gmxCFlags.cmake
src/gromacs/gpu_utils/hostallocator.cpp
src/gromacs/gpu_utils/hostallocator.h
src/gromacs/gpu_utils/tests/hostallocator.cpp
src/gromacs/utility/allocator.h