Fix bug in GPU list balancing
authorBerk Hess <hess@kth.se>
Sat, 4 Jul 2015 08:18:05 +0000 (10:18 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 6 Jul 2015 08:12:08 +0000 (10:12 +0200)
commiteea54d018709cb37261a071db80775e189337748
treee34295d2353437c92c808aad6c16d6a2d5cdfd4e
parent92d9b39b7ac25613052a6ba178d513dd142151ac
Fix bug in GPU list balancing

The function split_sci_entry could produce empty lists. This seems
not to have caused incorrect results, only slight extra processing
of empty workunits in the CUDA kernel. Incorrect Coulomb energies
could appear for empty lists with shift=CENTRAL, but that does not
seem to happen.

Refs #1767.

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