Assert the size of non-bonded GPU work units
authorSzilard Pall <pall.szilard@gmail.com>
Wed, 13 May 2015 18:25:22 +0000 (20:25 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 15 May 2015 15:39:34 +0000 (17:39 +0200)
commitaff6e44b71f809dcb8bc345ee601ffd35fe3779d
tree3a016702db0e77767fd73ded5c2df41d1bc66007
parent50b9000d1d73aa9217c99bf1ff6e151f190f7f4b
Assert the size of non-bonded GPU work units

<=0 sized grid blocks lead to kernel launch failure which have
caused issues before.

Refs #1734

Change-Id: I4e914bcf3168f7268dab64b69d25bf34fb6c85c9
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu