fixed recent bug with sorting atoms for GPUs
authorBerk Hess <hess@kth.se>
Wed, 20 Feb 2013 09:41:38 +0000 (10:41 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 5 Mar 2013 19:18:40 +0000 (20:18 +0100)
commitbdcca19a027d2e50f3eac0d0fc66f45d866c03d6
tree12c8fce28a3bf2a82607a37ab750c5f1f62b3744
parentca99be56a0fb6eeeac1c88b99fd8c5ad0ff01c1d
fixed recent bug with sorting atoms for GPUs

The sort buffer in the nbnxn gridding for GPUs was made too small
in 8d6cc146. This led to inconsistency errors (not incorrect output).
This is fixed and the sort_atoms call is now made simpler and
multiple consistency checks are now always on in debug builds.
Fixes #1153

Change-Id: Ifcdf45bb4de88e7584628d3ed2699e2fd469d5c6
src/mdlib/nbnxn_search.c