Change CanBePinned to PinnedIfSupported
authorRoland Schulz <roland.schulz@intel.com>
Thu, 6 Sep 2018 00:32:15 +0000 (17:32 -0700)
committerRoland Schulz <roland.schulz@intel.com>
Thu, 6 Sep 2018 01:36:12 +0000 (18:36 -0700)
commit2385a6701509b738615bc5475113f86032725034
tree96b0c1ca5f2e3f5fd2d997d9ce1c35e5166e9375
parenta6261218d1c9e335f8d49640dd123bd24e4bbbb9
Change CanBePinned to PinnedIfSupported

Allow setting the policy independent of support. Allows testing
without support.

Change-Id: I8aff34757868e705cea579d21f78a50b08f2c2ed
src/gromacs/ewald/pme.cpp
src/gromacs/fft/fft5d.cpp
src/gromacs/gpu_utils/hostallocator.cpp
src/gromacs/gpu_utils/hostallocator.h
src/gromacs/gpu_utils/tests/hostallocator.cpp
src/gromacs/gpu_utils/tests/pinnedmemorychecker.cpp